tests/test-shelve.t
changeset 26507 ae29cffa05db
parent 25799 0eb093e40813
child 26520 46dec89fe888
equal deleted inserted replaced
26506:edecf059fda6 26507:ae29cffa05db
   952   [255]
   952   [255]
   953   $ hg shelve --stat nonexistentshelf
   953   $ hg shelve --stat nonexistentshelf
   954   abort: cannot find shelf nonexistentshelf
   954   abort: cannot find shelf nonexistentshelf
   955   [255]
   955   [255]
   956 
   956 
       
   957   $ cd ..
       
   958 
       
   959 Shelve from general delta repo uses bundle2 on disk
       
   960 --------------------------------------------------
       
   961 
       
   962 no general delta
       
   963 
       
   964   $ hg clone --pull repo bundle1 --config format.generaldelta=0
       
   965   requesting all changes
       
   966   adding changesets
       
   967   adding manifests
       
   968   adding file changes
       
   969   added 5 changesets with 8 changes to 6 files
       
   970   updating to branch default
       
   971   6 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
   972   $ cd bundle1
       
   973   $ echo babar > jungle
       
   974   $ hg add jungle
       
   975   $ hg shelve
       
   976   shelved as default
       
   977   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
       
   978   $ hg debugbundle .hg/shelved/*.hg
       
   979   7e30d8ac6f23cfc84330fd7e698730374615d21a
       
   980   $ cd ..
       
   981 
       
   982 with general delta
       
   983 
       
   984   $ hg clone --pull repo bundle2 --config format.generaldelta=1
       
   985   requesting all changes
       
   986   adding changesets
       
   987   adding manifests
       
   988   adding file changes
       
   989   added 5 changesets with 8 changes to 6 files
       
   990   updating to branch default
       
   991   6 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
   992   $ cd bundle2
       
   993   $ echo babar > jungle
       
   994   $ hg add jungle
       
   995   $ hg shelve
       
   996   shelved as default
       
   997   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
       
   998   $ hg debugbundle .hg/shelved/*.hg
       
   999   Stream params: {'Compression': 'BZ'}
       
  1000   changegroup -- "{'version': '02'}"
       
  1001       7e30d8ac6f23cfc84330fd7e698730374615d21a
       
  1002   $ cd ..