Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rdiff-backup
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Guillaume Hervier
rdiff-backup
Commits
c3c7293e
Commit
c3c7293e
authored
Jul 09, 2018
by
Guillaume Hervier
Committed by
Rafael Monnerat
Jul 10, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix condition when checking changes on restore
parent
c396d831
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
rdiff_backup/restore.py
rdiff_backup/restore.py
+2
-3
No files found.
rdiff_backup/restore.py
View file @
c3c7293e
...
...
@@ -243,9 +243,8 @@ class MirrorStruct:
for
mir_rorp
,
target_rorp
in
collated
:
if
Globals
.
preserve_hardlinks
and
mir_rorp
:
Hardlink
.
add_rorp
(
mir_rorp
,
target_rorp
)
if
(
not
target_rorp
or
not
mir_rorp
or
not
mir_rorp
==
target_rorp
or
(
Globals
.
preserve_hardlinks
and
not
if
not
(
target_rorp
and
mir_rorp
and
target_rorp
==
mir_rorp
and
(
not
Globals
.
preserve_hardlinks
or
Hardlink
.
rorp_eq
(
mir_rorp
,
target_rorp
))):
diff
=
cls
.
get_diff
(
mir_rorp
,
target_rorp
)
else
:
diff
=
None
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment