At http://bzr.arbash-meinel.com/plugins/share_ancestry

------------------------------------------------------------
revno: 2
revision-id: [email protected]
parent: [email protected]
committer: John Arbash Meinel <[email protected]>
branch nick: share_ancestry
timestamp: Wed 2010-02-10 08:39:02 -0600
message:
  exit nonzero when the ancestry is not shared.
=== modified file '__init__.py'
--- a/__init__.py       2010-02-10 14:38:00 +0000
+++ b/__init__.py       2010-02-10 14:39:02 +0000
@@ -38,8 +38,10 @@
             self.outf.write('is %s ancestry in %s: ' % (branch1, branch2))
             if self._is_ancestry_in_other(b1, b2):
                 self.outf.write('yes\n')
+                return 0
             else:
                 self.outf.write('no\n')
+                return 1
             #self.outf.write('is %s ancestry in %s: ' % (branch2, branch1))
             #if self._is_ancestry_in_other(b2, b1):
             #    self.outf.write('yes\n')

-- 
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits

Reply via email to