How to detect copies?
Frank Kingswood
frank at kingswood-consulting.co.uk
Thu Jan 14 07:27:08 CST 2010
Hallo!
In perfarce.py I'm calling
copies.copies(repo, ctx1, ctx2, repo[node.nullid])
to determine what files are copies of other files.
In some cases, the copies are not straight copies, but have modifications on
top of the copy. In hg git-style diffs this is shown as a rename from, rename
to followed by deltas.
P4 does not cope with this kind of modification so I have to turn this into
another kind of operation.
The copies function does not appear to return this information. How can I
detect this condition?
Frank
--
------------------------------------------------------------------------
Frank A. Kingswood frank at kingswood-consulting.co.uk
Cambridge, United Kingdom +44-870-095 0000
More information about the Mercurial-devel
mailing list