# HG changeset patch # User Siddharth Agarwal # Date 1410503867 25200 # 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 -r 333d654783ad -r 5910184f1f7b hgext/convert/git.py --- a/hgext/convert/git.py Thu Sep 11 23:35:19 2014 -0700 +++ b/hgext/convert/git.py Thu Sep 11 23:37:47 2014 -0700 @@ -199,12 +199,11 @@ 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")