comparison tests/test-rebase-scenario-global.t @ 30172:90a6c18a7c1d

update: warn if cwd was deleted During update directories are deleted as soon as they have no entries. But if current working directory is deleted then it cause problems in complex commands like 'hg split'. This commit adds a warning that will help users figure the problem faster.
author Stanislau Hlebik <stash@fb.com>
date Tue, 04 Oct 2016 04:06:48 -0700
parents aca0954d3739
children 46a0203dfb89
comparison
equal deleted inserted replaced
30171:7a3b59f0329a 30172:90a6c18a7c1d
756 $ touch subfile 756 $ touch subfile
757 $ hg add subfile 757 $ hg add subfile
758 $ hg commit -m 'second source with subdir' 758 $ hg commit -m 'second source with subdir'
759 $ hg rebase -b . -d 1 --traceback 759 $ hg rebase -b . -d 1 --traceback
760 rebasing 2:779a07b1b7a0 "first source commit" 760 rebasing 2:779a07b1b7a0 "first source commit"
761 current directory was removed
762 (consider changing to repo root: $TESTTMP/cwd-vanish)
761 rebasing 3:a7d6f3a00bf3 "second source with subdir" (tip) 763 rebasing 3:a7d6f3a00bf3 "second source with subdir" (tip)
762 saved backup bundle to $TESTTMP/cwd-vanish/.hg/strip-backup/779a07b1b7a0-853e0073-backup.hg (glob) 764 saved backup bundle to $TESTTMP/cwd-vanish/.hg/strip-backup/779a07b1b7a0-853e0073-backup.hg (glob)
763 765
764 Test that rebase is done in topo order (issue5370) 766 Test that rebase is done in topo order (issue5370)
765 767