tests/test-prune.t
branchmercurial-4.1
changeset 3593 b92114f201c9
parent 3109 3024ae293732
parent 3592 7a5c3175015e
equal deleted inserted replaced
3592:7a5c3175015e 3593:b92114f201c9
     1   $ cat >> $HGRCPATH <<EOF
     1   $ cat >> $HGRCPATH <<EOF
     2   > [ui]
     2   > [ui]
     3   > logtemplate={rev}:{node|short}[{bookmarks}] ({separate('/', obsolete ,phase)}) {desc|firstline}\n
     3   > logtemplate={rev}:{node|short}[{bookmarks}] ({separate('/', obsolete ,phase)}) {desc|firstline}\n
     4   > [extensions]
     4   > [extensions]
       
     5   > color =
     5   > EOF
     6   > EOF
     6   $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH
     7   $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH
     7 
     8 
     8   $ mkcommit() {
     9   $ mkcommit() {
     9   >    echo "$1" > "$1"
    10   >    echo "$1" > "$1"
   305   working directory now at d62d843c9a01
   306   working directory now at d62d843c9a01
   306   bookmark 'todelete' deleted
   307   bookmark 'todelete' deleted
   307   1 changesets pruned
   308   1 changesets pruned
   308   $ hg id -ir dcbb326fdec2
   309   $ hg id -ir dcbb326fdec2
   309   abort: hidden revision 'dcbb326fdec2'!
   310   abort: hidden revision 'dcbb326fdec2'!
   310   (use --hidden to access hidden revisions; pruned)
   311   (use --hidden to access hidden revisions)
   311   [255]
   312   [255]
   312   $ hg id -ir d62d843c9a01
   313   $ hg id -ir d62d843c9a01
   313   d62d843c9a01
   314   d62d843c9a01
   314   $ hg bookmarks
   315   $ hg bookmarks
   315      B                         10:ff43616e5d0f
   316      B                         10:ff43616e5d0f
   339   bookmark 'delete' deleted
   340   bookmark 'delete' deleted
   340   3 changesets pruned
   341   3 changesets pruned
   341   $ hg tag --remove --local c
   342   $ hg tag --remove --local c
   342   $ hg id -ir 6:2702dd0c91e7
   343   $ hg id -ir 6:2702dd0c91e7
   343   abort: hidden revision '6'!
   344   abort: hidden revision '6'!
   344   (use --hidden to access hidden revisions; pruned)
   345   (use --hidden to access hidden revisions)
   345   [255]
   346   [255]
   346 
   347 
   347   $ hg debugobsstorestat
   348   $ hg debugobsstorestat
   348   markers total:                      7
   349   markers total:                      7
   349       for known precursors:           7 (7/15 obsolete changesets)
   350       for known precursors:           7 (7/15 obsolete changesets)