##// END OF EJS Templates
share: allow more than one level of directories to be created
Matt Harbison -
r39222:e8deaa77 default
parent child Browse files
Show More
@@ -266,7 +266,7 b' def share(ui, source, dest=None, update='
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 = ''
@@ -298,15 +298,15 b' test pushing bookmarks works'
298
298
299 test behavior when sharing a shared repo
299 test behavior when sharing a shared repo
300
300
301 $ hg share -B repo3 repo5
301 $ hg share -B repo3 missingdir/repo5
302 updating working directory
302 updating working directory
303 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
303 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
304 $ cd repo5
304 $ cd missingdir/repo5
305 $ hg book
305 $ hg book
306 bm1 3:b87954705719
306 bm1 3:b87954705719
307 bm3 4:62f4ded848e4
307 bm3 4:62f4ded848e4
308 bm4 5:92793bfc8cad
308 bm4 5:92793bfc8cad
309 $ cd ..
309 $ cd ../..
310
310
311 test what happens when an active bookmark is deleted
311 test what happens when an active bookmark is deleted
312
312
General Comments 0
You need to be logged in to leave comments. Login now