fix for mercurial 5.8 incompatibily
Looks that latest mercurial.ui.paths now dictionaly of LIST of path objects, so git_handle.py:remote_name
drops an exceptions
for path fields access.
here is a simple patch, solves incompatibily with new ui.paths structure. (old ui.paths style keep works) :
@@ -1720,6 +1720,8 @@
def remote_name(self, remote, push):
for path in compat.itervalues(self.ui.paths):
+ if isinstance(path, list):
+ path = path[0]
if push and path.pushloc == remote:
return path.name
if path.loc == remote:
Edited by alexrayne