Commits

Anonymous committed 2cd89b4

fixed checking of outgoing nodes
refs #18

Comments (0)

Files changed (1)

     ui.flush()
     ui.popbuffer()
 
-    outnodes = repo.changelog.nodesbetween(out, opts.get('revs'))[0]
+    if revs:
+        revs = [repo.lookup(rev) for rev in revs]
+    outnodes = repo.changelog.nodesbetween(out, revs)[0]
 
     # find outgoing nodes that are in incomplete tasks
     havebadnode = False