comparison mercurial/hg.py @ 39186:e8deaa77c1b6

share: allow more than one level of directories to be created
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 18 Aug 2018 01:07:43 -0400
parents 143efea71c2a
children ddfd80029306
comparison
equal deleted inserted replaced
39185:143efea71c2a 39186:e8deaa77c1b6
264 264
265 if destvfs.lexists(): 265 if destvfs.lexists():
266 raise error.Abort(_('destination already exists')) 266 raise error.Abort(_('destination already exists'))
267 267
268 if not destwvfs.isdir(): 268 if not destwvfs.isdir():
269 destwvfs.mkdir() 269 destwvfs.makedirs()
270 destvfs.makedir() 270 destvfs.makedir()
271 271
272 requirements = '' 272 requirements = ''
273 try: 273 try:
274 requirements = srcrepo.vfs.read('requires') 274 requirements = srcrepo.vfs.read('requires')