# HG changeset patch # User Siddharth Agarwal # Date 2014-09-12 06:37:47 # Node ID 5910184f1f7beba8d7bc565bf200827d7bca93c1 # Parent 333d654783adfcc2606e01b4897a88e97c7945cc convert: for git's getchanges, always split entry line into components We always need to know whether the entry is a rename or copy, so split it up unconditionally. diff --git a/hgext/convert/git.py b/hgext/convert/git.py --- a/hgext/convert/git.py +++ b/hgext/convert/git.py @@ -199,12 +199,11 @@ class convert_git(converter_source): if not entry: if not l.startswith(':'): continue - entry = l + entry = l.split() continue f = l if f not in seen: seen.add(f) - entry = entry.split() h = entry[3] p = (entry[1] == "100755") s = (entry[1] == "120000")