Mercurial > hg > mercurial-crew-with-dirclash
changeset 5404:67d3daa8ac42
convert: quote "^" to avoid windows using it as an escape char.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sat, 06 Oct 2007 21:19:06 +0200 |
parents | 477136fa6571 |
children | 8feb33c2d153 |
files | hgext/convert/git.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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()