diff hgsubversion/__init__.py @ 1581:363d4c2cb880

hgsubversion: make the 'rev' argument a list type This will help us pass multiple rev arguments to the subcommands.
author Ivan Lezhankin <ilezhankin@yandex-team.ru>
date Mon, 06 Aug 2018 14:46:36 +0300
parents 4830089aee58
children 40d8557d6aee
line wrap: on
line diff
--- a/hgsubversion/__init__.py
+++ b/hgsubversion/__init__.py
@@ -214,7 +214,7 @@ svncommandopts = [
     ('', 'force', False, 'force an operation to happen'),
     ('', 'username', '', 'username for authentication'),
     ('', 'password', '', 'password for authentication'),
-    ('r', 'rev', '', 'Mercurial revision'),
+    ('r', 'rev', [], 'Mercurial revision'),
     ('', 'unsafe-skip-uuid-check', False,
      'skip repository uuid check in rebuildmeta'),
 ]