Commits

Anonymous committed e68cdcb Draft

Consistency: sucs

Comments (0)

Files changed (1)

hgext/obsolete.py

                     meta = dict((k.encode('utf-8'), v.encode('utf-8'))
                                  for k, v in oldmark.iteritems())
                     try:
-                        succs = [bin(n) for n in oldsubjects]
-                        succs = [n for n in succs if n != nullid]
-                        store.create(tr, bin(oldobject), succs,
+                        sucs = [bin(n) for n in oldsubjects]
+                        sucs = [n for n in succs if n != nullid]
+                        store.create(tr, bin(oldobject), sucs,
                                      0, meta)
                         cnt += 1
                     except ValueError: