tests/test-bundle-type.t
changeset 26511 bb3d961c1648
parent 24138 eabe44ec5af5
child 26531 15ce78517d4b
equal deleted inserted replaced
26510:77c13f3c01ca 26511:bb3d961c1648
    34   >   hg init t$t
    34   >   hg init t$t
    35   >   cd t1
    35   >   cd t1
    36   >   hg bundle -t $t ../b$t ../t$t
    36   >   hg bundle -t $t ../b$t ../t$t
    37   >   cut -b 1-6 ../b$t | head -n 1
    37   >   cut -b 1-6 ../b$t | head -n 1
    38   >   cd ../t$t
    38   >   cd ../t$t
    39   >   hg pull ../b$t
    39   >   hg debugbundle ../b$t
    40   >   hg up
    40   >   echo
    41   >   hg log | grep summary
       
    42   >   cd ..
    41   >   cd ..
    43   > done
    42   > done
    44   % test bundle type None
    43   % test bundle type None
    45   searching for changes
    44   searching for changes
    46   1 changesets found
    45   1 changesets found
    47   HG10UN
    46   HG10UN
    48   pulling from ../bNone
    47   c35a0f9217e65d1fdb90c936ffa7dbe679f83ddf
    49   requesting all changes
    48   
    50   adding changesets
       
    51   adding manifests
       
    52   adding file changes
       
    53   added 1 changesets with 1 changes to 1 files
       
    54   (run 'hg update' to get a working copy)
       
    55   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
    56   summary:     a
       
    57   % test bundle type bzip2
    49   % test bundle type bzip2
    58   searching for changes
    50   searching for changes
    59   1 changesets found
    51   1 changesets found
    60   HG10BZ
    52   HG10BZ
    61   pulling from ../bbzip2
    53   c35a0f9217e65d1fdb90c936ffa7dbe679f83ddf
    62   requesting all changes
    54   
    63   adding changesets
       
    64   adding manifests
       
    65   adding file changes
       
    66   added 1 changesets with 1 changes to 1 files
       
    67   (run 'hg update' to get a working copy)
       
    68   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
    69   summary:     a
       
    70   % test bundle type gzip
    55   % test bundle type gzip
    71   searching for changes
    56   searching for changes
    72   1 changesets found
    57   1 changesets found
    73   HG10GZ
    58   HG10GZ
    74   pulling from ../bgzip
    59   c35a0f9217e65d1fdb90c936ffa7dbe679f83ddf
    75   requesting all changes
    60   
    76   adding changesets
       
    77   adding manifests
       
    78   adding file changes
       
    79   added 1 changesets with 1 changes to 1 files
       
    80   (run 'hg update' to get a working copy)
       
    81   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
    82   summary:     a
       
    83 
    61 
    84 test garbage file
    62 test garbage file
    85 
    63 
    86   $ echo garbage > bgarbage
    64   $ echo garbage > bgarbage
    87   $ hg init tgarbage
    65   $ hg init tgarbage