##// END OF EJS Templates
convert: update p4 for Python 3...
Nate Skulic -
r47899:3af29373 stable
parent child Browse files
Show More
@@ -151,12 +151,10 b' class p4_source(common.converter_source)'
151 151 views[sview] = cview
152 152
153 153 # list of changes that affect our source files
154 p4changes = p4changes.keys()
155 p4changes.sort(key=int)
154 p4changes = sorted(p4changes.keys(), key=int)
156 155
157 156 # list with depot pathnames, longest first
158 vieworder = views.keys()
159 vieworder.sort(key=len, reverse=True)
157 vieworder = sorted(views.keys(), key=len, reverse=True)
160 158
161 159 # handle revision limiting
162 160 startrev = self.ui.config(b'convert', b'p4.startrev')
@@ -188,7 +186,7 b' class p4_source(common.converter_source)'
188 186 else:
189 187 shortdesc = b'**empty changelist description**'
190 188
191 t = b'%s %s' % (c.rev, repr(shortdesc)[1:-1])
189 t = b'%s %s' % (c.rev, shortdesc)
192 190 ui.status(stringutil.ellipsis(t, 80) + b'\n')
193 191
194 192 files = []
General Comments 0
You need to be logged in to leave comments. Login now