Rev 6382: (jelmer) In RevisionSpec.__nonzero__, only check the revision id, in file:///srv/pqm.bazaar-vcs.org/archives/thelove/bzr/%2Btrunk/
Patch Queue Manager
pqm at pqm.ubuntu.com
Mon Dec 19 01:14:43 UTC 2011
At file:///srv/pqm.bazaar-vcs.org/archives/thelove/bzr/%2Btrunk/
------------------------------------------------------------
revno: 6382 [merge]
revision-id: pqm at pqm.ubuntu.com-20111219011443-9ai5egjyc2rgnup0
parent: pqm at pqm.ubuntu.com-20111219004948-irl4u0gumo2a4sni
parent: jelmer at canonical.com-20111218180421-2jfwkj860i0n51zr
committer: Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Mon 2011-12-19 01:14:43 +0000
message:
(jelmer) In RevisionSpec.__nonzero__, only check the revision id,
not the revision number. (Jelmer Vernooij)
modified:
bzrlib/revisionspec.py revisionspec.py-20050907152633-17567659fd5c0ddb
=== modified file 'bzrlib/revisionspec.py'
--- a/bzrlib/revisionspec.py 2011-12-01 23:10:02 +0000
+++ b/bzrlib/revisionspec.py 2011-12-18 18:04:21 +0000
@@ -78,8 +78,6 @@
# first the easy ones...
if self.rev_id is None:
return False
- if self.revno is not None:
- return True
# TODO: otherwise, it should depend on how I was built -
# if it's in_history(branch), then check revision_history(),
# if it's in_store(branch), do the check below
More information about the bazaar-commits
mailing list