tests/test-manifest.t
changeset 37437 814e080a1215
parent 37346 45a4799174a1
child 37438 7b7ca9ba2de5
equal deleted inserted replaced
37436:9d4f09bfe3ec 37437:814e080a1215
     1 #require repobundlerepo
       
     2 
       
     3 Source bundle was generated with the following script:
     1 Source bundle was generated with the following script:
     4 
     2 
     5 # hg init
     3 # hg init
     6 # echo a > a
     4 # echo a > a
     7 # ln -s a l
     5 # ln -s a l
    10 # echo a > b/a
     8 # echo a > b/a
    11 # chmod +x b/a
     9 # chmod +x b/a
    12 # hg ci -Amb -d'1 0'
    10 # hg ci -Amb -d'1 0'
    13 
    11 
    14   $ hg init
    12   $ hg init
    15   $ hg -q pull "$TESTDIR/bundles/test-manifest.hg"
    13   $ hg unbundle "$TESTDIR/bundles/test-manifest.hg"
       
    14   adding changesets
       
    15   adding manifests
       
    16   adding file changes
       
    17   added 2 changesets with 3 changes to 3 files
       
    18   new changesets b73562a03cfe:5bdc995175ba
       
    19   (run 'hg update' to get a working copy)
    16 
    20 
    17 The next call is expected to return nothing:
    21 The next call is expected to return nothing:
    18 
    22 
    19   $ hg manifest
    23   $ hg manifest
    20 
    24 
    62   a
    66   a
    63   b/a
    67   b/a
    64   l
    68   l
    65 
    69 
    66   $ hg manifest --all
    70   $ hg manifest --all
    67   a
    71   a (no-reposimplestore !)
    68   b/a
    72   b/a (no-reposimplestore !)
    69   l
    73   l (no-reposimplestore !)
    70 
    74 
    71 The next two calls are expected to abort:
    75 The next two calls are expected to abort:
    72 
    76 
    73   $ hg manifest -r 2
    77   $ hg manifest -r 2
    74   abort: unknown revision '2'!
    78   abort: unknown revision '2'!