# HG changeset patch # User Patrick Mezard # Date 2007-10-06 19:19:06 # Node ID 67d3daa8ac42c01e270fb1daf4a8e70c4eba4d28 # Parent 477136fa65710c6ea2adb625785ee388b2a7ed4f convert: quote "^" to avoid windows using it as an escape char. diff --git a/hgext/convert/git.py b/hgext/convert/git.py --- a/hgext/convert/git.py +++ b/hgext/convert/git.py @@ -134,7 +134,7 @@ class convert_git(converter_source): changes.append(f) fh.close() else: - fh = self.gitcmd("git-diff-tree --name-only --root -r %s %s^%s --" + fh = self.gitcmd('git-diff-tree --name-only --root -r %s "%s^%s" --' % (version, version, i+1)) changes = [f.rstrip('\n') for f in fh] fh.close()