Rev 1845: use path prefix when looking for tags. in file:///data/jelmer/bzr-svn/trunk/
Jelmer Vernooij
jelmer at samba.org
Sun Sep 7 01:00:28 BST 2008
At file:///data/jelmer/bzr-svn/trunk/
------------------------------------------------------------
revno: 1845
revision-id: jelmer at samba.org-20080907000022-rx44hda22o4i6833
parent: jelmer at samba.org-20080907000007-lmtamefi1t1c2k8a
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Sun 2008-09-07 02:00:22 +0200
message:
use path prefix when looking for tags.
modified:
repository.py repository.py-20060306123302-1f8c5069b3fe0265
=== modified file 'repository.py'
--- a/repository.py 2008-09-06 23:54:21 +0000
+++ b/repository.py 2008-09-07 00:00:22 +0000
@@ -611,8 +611,12 @@
tags = {}
assert from_revnum <= to_revnum
pb = ui.ui_factory.nested_progress_bar()
+ if project is None:
+ prefixes = [""]
+ else:
+ prefixes = layout.get_project_prefixes(project)
try:
- for (paths, revnum, revprops) in self._log.iter_changes(None, from_revnum, to_revnum, pb=pb):
+ for (paths, revnum, revprops) in self._log.iter_changes(prefixes, from_revnum, to_revnum, pb=pb):
if revprops is None:
continue
if (self.transport.has_capability("log-revprops") and
More information about the bazaar-commits
mailing list