Show More
@@ -167,6 +167,8 b' class dirstate(object):' | |||
|
167 | 167 | self._dirty = False |
|
168 | 168 | |
|
169 | 169 | def copy(self, source, dest): |
|
170 | if source == dest: | |
|
171 | return | |
|
170 | 172 | self._dirty = True |
|
171 | 173 | self._copymap[dest] = source |
|
172 | 174 |
@@ -688,7 +688,7 b' class localrepository(repo.repository):' | |||
|
688 | 688 | |
|
689 | 689 | meta = {} |
|
690 | 690 | cp = self.dirstate.copied(fn) |
|
691 | if cp: | |
|
691 | if cp and cp != fn: | |
|
692 | 692 | # Mark the new revision of this file as a copy of another |
|
693 | 693 | # file. This copy data will effectively act as a parent |
|
694 | 694 | # of this new revision. If this is a merge, the first |
@@ -117,7 +117,7 b' o branch=old3 11 branch trunk@1 into ol' | |||
|
117 | 117 | | | | |
|
118 | 118 | | o | branch= 3 change a files: a |
|
119 | 119 | | | | |
|
120 |
| | o branch=old 2 branch trunk, remove c files: |
|
|
120 | | | o branch=old 2 branch trunk, remove c files: | |
|
121 | 121 | | |/ |
|
122 | 122 | | o branch= 1 hello files: a b c |
|
123 | 123 | |/ |
General Comments 0
You need to be logged in to leave comments.
Login now