changeset 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 0d18108ec153
children e15dc9e9cd56
files hgsubversion/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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'),
 ]