changeset 1335:c7d067c174b8

Merge with stable.
author Augie Fackler <raf@durin42.com>
date Fri, 29 May 2015 11:06:54 -0400
parents ecce8aef4b21 (current diff) 9a78a6524f9d (diff)
children 356460fb01fa
files
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/__init__.py
+++ b/hgsubversion/__init__.py
@@ -178,6 +178,9 @@ def reposetup(ui, repo):
 
     if ui.configbool('hgsubversion', 'nativerevs'):
         extensions.wrapfunction(revset, 'stringset', util.revset_stringset)
+        revset.symbols['stringset'] = revset.stringset
+        revset.methods['string'] = revset.stringset
+        revset.methods['symbol'] = revset.stringset
 
 _old_local = hg.schemes['file']
 def _lookup(url):
--- a/hgsubversion/util.py
+++ b/hgsubversion/util.py
@@ -227,6 +227,9 @@ class PrefixMatch(object):
     def anypats(self):
         return True
 
+    def prefix(self):
+        return False
+
 def outgoing_revisions(repo, reverse_map, sourcerev):
     """Given a repo and an hg_editor, determines outgoing revisions for the
     current working copy state.