tests/test-mq.t
changeset 12640 6cc4b14fb76b
parent 12399 4fee1fd3de9a
child 12942 05fffd665170
equal deleted inserted replaced
12639:236058a65cb4 12640:6cc4b14fb76b
   133   syntax: glob
   133   syntax: glob
   134   status
   134   status
   135   guards
   135   guards
   136   $ cat .hg/patches/series
   136   $ cat .hg/patches/series
   137   $ hg qinit -c
   137   $ hg qinit -c
   138   abort: repository * already exists! (glob)
   138   abort: repository $TESTTMP/d/.hg/patches already exists!
   139   [255]
   139   [255]
   140   $ cd ..
   140   $ cd ..
   141 
   141 
   142   $ echo '% qinit; <stuff>; qinit -c'
   142   $ echo '% qinit; <stuff>; qinit -c'
   143   % qinit; <stuff>; qinit -c
   143   % qinit; <stuff>; qinit -c
   735   $ echo x>x
   735   $ echo x>x
   736   $ hg ci -Ama
   736   $ hg ci -Ama
   737   adding x
   737   adding x
   738   $ hg strip tip
   738   $ hg strip tip
   739   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   739   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   740   saved backup bundle to * (glob)
   740   saved backup bundle to $TESTTMP/b/.hg/strip-backup/*-backup.hg (glob)
   741   $ hg unbundle .hg/strip-backup/*
   741   $ hg unbundle .hg/strip-backup/*
   742   adding changesets
   742   adding changesets
   743   adding manifests
   743   adding manifests
   744   adding file changes
   744   adding file changes
   745   added 1 changesets with 1 changes to 1 files
   745   added 1 changesets with 1 changes to 1 files
   758 
   758 
   759 --force strip with local changes
   759 --force strip with local changes
   760 
   760 
   761   $ hg strip -f tip
   761   $ hg strip -f tip
   762   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   762   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   763   saved backup bundle to * (glob)
   763   saved backup bundle to $TESTTMP/b/.hg/strip-backup/*-backup.hg (glob)
   764 
   764 
   765 
   765 
   766 cd b; hg qrefresh
   766 cd b; hg qrefresh
   767 
   767 
   768   $ hg init refresh
   768   $ hg init refresh
  1116   date:        Thu Jan 01 00:00:00 1970 +0000
  1116   date:        Thu Jan 01 00:00:00 1970 +0000
  1117   summary:     add foo
  1117   summary:     add foo
  1118   
  1118   
  1119   $ hg strip 1
  1119   $ hg strip 1
  1120   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
  1120   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
  1121   saved backup bundle to * (glob)
  1121   saved backup bundle to $TESTTMP/b/strip/.hg/strip-backup/*-backup.hg (glob)
  1122   $ checkundo strip
  1122   $ checkundo strip
  1123   $ hg log
  1123   $ hg log
  1124   changeset:   1:20cbbe65cff7
  1124   changeset:   1:20cbbe65cff7
  1125   tag:         tip
  1125   tag:         tip
  1126   user:        test
  1126   user:        test