1. Fredrik Håård
  2. hgapi


Simon Williams  committed 2e6c0d9

Fixed bug causing parents to be ignored

  • Participants
  • Parent commits 759996d
  • Branches default

Comments (0)

Files changed (1)

File hgapi/hgapi.py

View file
  • Ignore whitespace
         for key in rev.keys():
             self.__setattr__(key, unquote(rev[key]))
         self.rev = int(self.rev)
-        if not hasattr(self, "parent"):
+        if not self.parents:
             self.parents = [int(self.rev)-1]
             self.parents = [int(p) for p in self.parents.split()]