diff -r e7d3b509af8b -r 08a0f04b56bd hgext/convert/gnuarch.py --- a/hgext/convert/gnuarch.py Mon Jan 25 00:05:22 2010 -0600 +++ b/hgext/convert/gnuarch.py Mon Jan 25 00:05:27 2010 -0600 @@ -89,7 +89,8 @@ # Get the complete list of revisions for that tree version output, status = self.runlines('revisions', '-r', '-f', treeversion) - self.checkexit(status, 'failed retrieveing revisions for %s' % treeversion) + self.checkexit(status, 'failed retrieveing revisions for %s' + % treeversion) # No new iteration unless a revision has a continuation-of header treeversion = None @@ -116,7 +117,8 @@ # or if we have to 'jump' to a different treeversion given # by the continuation-of header. if self.changes[rev].continuationof: - treeversion = '--'.join(self.changes[rev].continuationof.split('--')[:-1]) + treeversion = '--'.join( + self.changes[rev].continuationof.split('--')[:-1]) break # If we reached a base-0 revision w/o any continuation-of @@ -220,7 +222,7 @@ return data, mode def _exclude(self, name): - exclude = [ '{arch}', '.arch-ids', '.arch-inventory' ] + exclude = ['{arch}', '.arch-ids', '.arch-inventory'] for exc in exclude: if name.find(exc) != -1: return True @@ -285,7 +287,8 @@ # Commit revision origin when dealing with a branch or tag if 'Continuation-of' in catlog: - self.changes[rev].continuationof = self.recode(catlog['Continuation-of']) + self.changes[rev].continuationof = self.recode( + catlog['Continuation-of']) except Exception: raise util.Abort(_('could not parse cat-log of %s') % rev)