##// 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 11 import errno
12 12 import os
13 import posixpath
13 14 import shutil
14 15 import stat
15 16 import weakref
@@ -1285,7 +1286,11 b' def _incoming('
1285 1286 source = bytes(subpath)
1286 1287 else:
1287 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 1294 source = bytes(p)
1290 1295 other = peer(repo, opts, source)
1291 1296 cleanupfn = other.close
@@ -1356,7 +1361,11 b' def _outgoing(ui, repo, dests, opts, sub'
1356 1361 dest = bytes(subpath)
1357 1362 else:
1358 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 1369 dest = bytes(p)
1361 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