Rev 5: Check to make sure our assumption is valid in http://bzr.arbash-meinel.com/plugins/push_and_update
John Arbash Meinel
john at arbash-meinel.com
Mon Feb 12 23:05:10 GMT 2007
At http://bzr.arbash-meinel.com/plugins/push_and_update
------------------------------------------------------------
revno: 5
revision-id: john at arbash-meinel.com-20070212230509-91tdyzahxoch8dbe
parent: john at arbash-meinel.com-20070212224515-ippodn22riasf511
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: push_and_update
timestamp: Mon 2007-02-12 17:05:09 -0600
message:
Check to make sure our assumption is valid
modified:
push_and_update.py push_and_update.py-20070212212941-xifrmnv3jrbcv28z-2
-------------- next part --------------
=== modified file 'push_and_update.py'
--- a/push_and_update.py 2007-02-12 22:45:15 +0000
+++ b/push_and_update.py 2007-02-12 23:05:09 +0000
@@ -80,6 +80,7 @@
return 0, 0
last_rev = a_branch.last_revision()
anc = a_branch.repository.get_ancestry(last_rev)
+ assert anc[0] is None
# anc always includes 'None'
return starting_revno, len(anc)-1
More information about the bazaar-commits
mailing list