# HG changeset patch # User Paul Aurich # Date 1240587340 25200 # Node ID e19d2ce18eebbaac3094108fab470ba9b133a1e9 # Parent f6f0fd01b34aed1c9ebb1c92f5557502f45cca7d Fix reset_handler diff -r f6f0fd01b34a -r e19d2ce18eeb fastimport/hgimport.py --- a/fastimport/hgimport.py Thu Apr 02 17:16:02 2009 -0400 +++ b/fastimport/hgimport.py Fri Apr 24 08:35:40 2009 -0700 @@ -147,10 +147,9 @@ return "%d %d" % res def reset_handler(self, cmd): - #self.ui.write("Cmd: %s\n" % repr(cmd)) if cmd.from_ is not None: - self.branch_map[cmd.from_] = self.committish_rev(cmd.ref) - + self.branch_map[cmd.ref] = self.committish_rev(cmd.from_) + def tag_handler(self, cmd): # self.tag_map[cmd.id] = self.tag_back_map[cmd.from_] pass