tests/test-sparse.t
changeset 35400 4441705b7111
parent 33816 cf300c1ad7bf
child 35704 41ef02ba329b
equal deleted inserted replaced
35399:5feb782c7a95 35400:4441705b7111
   255    show  |  2 +-
   255    show  |  2 +-
   256    show2 |  1 +
   256    show2 |  1 +
   257    4 files changed, 4 insertions(+), 2 deletions(-)
   257    4 files changed, 4 insertions(+), 2 deletions(-)
   258   
   258   
   259   $ hg strip -r . -k
   259   $ hg strip -r . -k
   260   saved backup bundle to $TESTTMP/myrepo/.hg/strip-backup/39278f7c08a9-ce59e002-backup.hg (glob)
   260   saved backup bundle to $TESTTMP/myrepo/.hg/strip-backup/39278f7c08a9-ce59e002-backup.hg
   261   $ hg status
   261   $ hg status
   262   M show
   262   M show
   263   ? show2
   263   ? show2
   264 
   264 
   265 Verify rebase succeeds if all changed files are in sparse checkout
   265 Verify rebase succeeds if all changed files are in sparse checkout
   266 
   266 
   267   $ hg commit -Aqm "add show2"
   267   $ hg commit -Aqm "add show2"
   268   $ hg rebase -d 1 --config extensions.rebase=
   268   $ hg rebase -d 1 --config extensions.rebase=
   269   rebasing 2:bdde55290160 "add show2" (tip)
   269   rebasing 2:bdde55290160 "add show2" (tip)
   270   saved backup bundle to $TESTTMP/myrepo/.hg/strip-backup/bdde55290160-216ed9c6-rebase.hg (glob)
   270   saved backup bundle to $TESTTMP/myrepo/.hg/strip-backup/bdde55290160-216ed9c6-rebase.hg
   271 
   271 
   272 Verify log --sparse only shows commits that affect the sparse checkout
   272 Verify log --sparse only shows commits that affect the sparse checkout
   273 
   273 
   274   $ hg log -T '{rev} '
   274   $ hg log -T '{rev} '
   275   2 1 0  (no-eol)
   275   2 1 0  (no-eol)