Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hg.py @ 5222:cbe6e263357b
parseurl: also return the revision after the "#"; add a test
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Mon, 27 Aug 2007 01:44:35 -0300 |
parents | 156f4c8a12aa |
children | fe55e3d6dc0b |
line wrap: on
line diff
--- a/mercurial/hg.py Mon Aug 27 01:44:35 2007 -0300 +++ b/mercurial/hg.py Mon Aug 27 01:44:35 2007 -0300 @@ -99,7 +99,7 @@ """ origsource = source - source, rev = cmdutil.parseurl(ui.expandpath(source), rev) + source, rev, checkout = cmdutil.parseurl(ui.expandpath(source), rev) if isinstance(source, str): src_repo = repository(ui, source)