changeset 1334:9a78a6524f9d stable

native revs: Match changes in core to fix native revs Core changed the definition of stringset, it broke native revset. This patch fixes it.
author Laurent Charignon <lcharignon@fb.com>
date Tue, 12 May 2015 11:36:44 -0700
parents 7475c42671b1
children c7d067c174b8 f97b8c333c9e
files hgsubversion/__init__.py
diffstat 1 files changed, 3 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):