changeset 38470:2c2e82469b89

convert: don't pass --no-files to "darcs show repo" command The test fails with darcs 2.14.0 because --no-files is no longer supported. It was removed at the patch 97973a52bf496657558412562d6fad2ee651b1e0, which says "show repo: removed --files option, removed manual flags parsing." As far as I can tell, --no-files was specified just for optimization, so old darcs should work without it.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 23 Jun 2018 19:23:53 +0900
parents a8f99334ae31
children 09b09fe7ee90
files hgext/convert/darcs.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/darcs.py	Tue May 29 00:15:44 2018 +0200
+++ b/hgext/convert/darcs.py	Sat Jun 23 19:23:53 2018 +0900
@@ -126,8 +126,7 @@
         return etree.getroot()
 
     def format(self):
-        output, status = self.run('show', 'repo', no_files=True,
-                                  repodir=self.path)
+        output, status = self.run('show', 'repo', repodir=self.path)
         self.checkexit(status)
         m = re.search(r'^\s*Format:\s*(.*)$', output, re.MULTILINE)
         if not m: