##// END OF EJS Templates
branching: merge with stable
Raphaël Gomès -
r49418:f13fb742 merge default
parent child Browse files
Show More
@@ -10,6 +10,7 b' from __future__ import absolute_import'
10
10
11 import errno
11 import errno
12 import os
12 import os
13 import posixpath
13 import shutil
14 import shutil
14 import stat
15 import stat
15 import weakref
16 import weakref
@@ -1285,7 +1286,11 b' def _incoming('
1285 source = bytes(subpath)
1286 source = bytes(subpath)
1286 else:
1287 else:
1287 p = urlutil.url(source)
1288 p = urlutil.url(source)
1288 p.path = os.path.normpath(b'%s/%s' % (p.path, subpath))
1289 if p.islocal():
1290 normpath = os.path.normpath
1291 else:
1292 normpath = posixpath.normpath
1293 p.path = normpath(b'%s/%s' % (p.path, subpath))
1289 source = bytes(p)
1294 source = bytes(p)
1290 other = peer(repo, opts, source)
1295 other = peer(repo, opts, source)
1291 cleanupfn = other.close
1296 cleanupfn = other.close
@@ -1356,7 +1361,11 b' def _outgoing(ui, repo, dests, opts, sub'
1356 dest = bytes(subpath)
1361 dest = bytes(subpath)
1357 else:
1362 else:
1358 p = urlutil.url(dest)
1363 p = urlutil.url(dest)
1359 p.path = os.path.normpath(b'%s/%s' % (p.path, subpath))
1364 if p.islocal():
1365 normpath = os.path.normpath
1366 else:
1367 normpath = posixpath.normpath
1368 p.path = normpath(b'%s/%s' % (p.path, subpath))
1360 dest = bytes(p)
1369 dest = bytes(p)
1361 branches = path.branch, opts.get(b'branch') or []
1370 branches = path.branch, opts.get(b'branch') or []
1362
1371
General Comments 0
You need to be logged in to leave comments. Login now