Show More
@@ -534,9 +534,9 b' def _checksinglesidecopies(' | |||
|
534 | 534 | # thing in pathcopies(): pathcopies(x, y) can return a copy where the |
|
535 | 535 | # destination doesn't exist in y. |
|
536 | 536 | pass |
|
537 | elif m2[src] != mb[src]: | |
|
538 | if not _related(c2[src], base[src]): | |
|
539 | return | |
|
537 | elif mb[src] != m2[src] and not _related(c2[src], base[src]): | |
|
538 | return | |
|
539 | elif mb[src] != m2[src] or mb.flags(src) != m2.flags(src): | |
|
540 | 540 | # modified on side 2 |
|
541 | 541 | for dst in dsts1: |
|
542 | 542 | copy[dst] = src |
@@ -111,29 +111,25 b' make "a" renamed on the other side' | |||
|
111 | 111 | merge them (from the rename side) |
|
112 | 112 | |
|
113 | 113 | $ hg merge 'desc("make a executable")' |
|
114 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
|
115 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved (true !) | |
|
114 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
116 | 115 | (branch merge, don't forget to commit) |
|
117 | 116 | $ hg st --copies |
|
118 | M z (false !) | |
|
119 | a (false !) | |
|
117 | M z | |
|
118 | a | |
|
120 | 119 | $ [ -x z ] || echo "executable bit lost" |
|
121 | executable bit lost (true !) | |
|
122 | 120 | |
|
123 | 121 | merge them (from the chmod side) |
|
124 | 122 | |
|
125 | 123 | $ hg up -C 'desc("make a executable")' |
|
126 | 124 | 1 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
127 | 125 | $ hg merge 'desc("rename a to z")' |
|
128 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
|
129 | 1 files updated, 0 files merged, 1 files removed, 0 files unresolved (true !) | |
|
126 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
130 | 127 | (branch merge, don't forget to commit) |
|
131 | 128 | $ hg st --copies |
|
132 | 129 | M z |
|
133 | a (false !) | |
|
130 | a | |
|
134 | 131 | R a |
|
135 | 132 | $ [ -x z ] || echo "executable bit lost" |
|
136 | executable bit lost (true !) | |
|
137 | 133 | |
|
138 | 134 | |
|
139 | 135 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now