[PATCH 6 of 8] convert extension: Add a (non standard) hand surgery support for cvsps

Edouard Gomez ed.gomez at free.fr
Sun Jul 1 17:12:13 CDT 2007


# HG changeset patch
# User Edouard Gomez <ed.gomez at free.fr>
# Date 1183302954 -7200
# Node ID de64f367507307bd7c244ccae2cf4de793774e45
# Parent  21281906c34196a288a9bda634bc7ed15dbc3b80
convert extension: Add a (non standard) hand surgery support for cvsps

diff -r 21281906c341 -r de64f3675073 hgext/convert/cvs.py
--- a/hgext/convert/cvs.py	Sun Jul 01 17:15:54 2007 +0200
+++ b/hgext/convert/cvs.py	Sun Jul 01 17:15:54 2007 +0200
@@ -48,6 +48,9 @@ class convert_cvs(converter_source):
                     elif l.startswith("Ancestor branch"):
                         ancestor = l[17:-1]
                         self.parent[id] = self.lastbranch[ancestor]
+                    elif l.startswith("Ancestor patchset"):
+                        ancestor = l[19:-1]
+                        self.parent[id] = ancestor
                     elif l.startswith("Author"):
                         author = self.recode(l[8:-1])
                     elif l.startswith("Tag:") or l.startswith("Tags:"):


More information about the Mercurial-devel mailing list