tests/test-bundle.t
changeset 15131 7c26ce9edbd2
parent 14522 5ca61ef6ff00
child 15519 bb9ad375b51c
equal deleted inserted replaced
15130:3d44e68360a6 15131:7c26ce9edbd2
    88 
    88 
    89 Rollback empty
    89 Rollback empty
    90 
    90 
    91   $ hg -R empty rollback
    91   $ hg -R empty rollback
    92   repository tip rolled back to revision -1 (undo pull)
    92   repository tip rolled back to revision -1 (undo pull)
    93   working directory now based on revision -1
       
    94 
    93 
    95 Pull full.hg into empty again (using --cwd)
    94 Pull full.hg into empty again (using --cwd)
    96 
    95 
    97   $ hg --cwd empty pull ../full.hg
    96   $ hg --cwd empty pull ../full.hg
    98   pulling from ../full.hg
    97   pulling from ../full.hg
   119 
   118 
   120 Rollback empty
   119 Rollback empty
   121 
   120 
   122   $ hg -R empty rollback
   121   $ hg -R empty rollback
   123   repository tip rolled back to revision -1 (undo pull)
   122   repository tip rolled back to revision -1 (undo pull)
   124   working directory now based on revision -1
       
   125 
   123 
   126 Pull full.hg into empty again (using -R)
   124 Pull full.hg into empty again (using -R)
   127 
   125 
   128   $ hg -R empty pull full.hg
   126   $ hg -R empty pull full.hg
   129   pulling from full.hg
   127   pulling from full.hg
   217 
   215 
   218 Rollback empty
   216 Rollback empty
   219 
   217 
   220   $ hg rollback
   218   $ hg rollback
   221   repository tip rolled back to revision -1 (undo pull)
   219   repository tip rolled back to revision -1 (undo pull)
   222   working directory now based on revision -1
       
   223   $ cd ..
   220   $ cd ..
   224 
   221 
   225 Log -R bundle:empty+full.hg
   222 Log -R bundle:empty+full.hg
   226 
   223 
   227   $ hg -R bundle:empty+full.hg log --template="{rev} "; echo ""
   224   $ hg -R bundle:empty+full.hg log --template="{rev} "; echo ""