Show More
@@ -112,6 +112,13 b' def filerevisioncopied(store, node):' | |||
|
112 | 112 | 2-tuple of the source filename and node. |
|
113 | 113 | """ |
|
114 | 114 | if store.parents(node)[0] != sha1nodeconstants.nullid: |
|
115 | # When creating a copy or move we set filelog parents to null, | |
|
116 | # because contents are probably unrelated and making a delta | |
|
117 | # would not be useful. | |
|
118 | # Conversely, if filelog p1 is non-null we know | |
|
119 | # there is no copy metadata. | |
|
120 | # In the presence of merges, this reasoning becomes invalid | |
|
121 | # if we reorder parents. See tests/test-issue6528.t. | |
|
115 | 122 | return False |
|
116 | 123 | |
|
117 | 124 | meta = parsemeta(store.revision(node))[0] |
General Comments 0
You need to be logged in to leave comments.
Login now