tests/test-rhg-sparse-narrow.t
changeset 49985 e57f76c28f7b
parent 49984 df9eabc9837b
equal deleted inserted replaced
49984:df9eabc9837b 49985:e57f76c28f7b
    73   abort: invalid revision identifier: 6d714a4a2998cbfd0620db44da58b749f6565d63
    73   abort: invalid revision identifier: 6d714a4a2998cbfd0620db44da58b749f6565d63
    74   [255]
    74   [255]
    75   $ "$real_hg" cat -r "$tip" hide
    75   $ "$real_hg" cat -r "$tip" hide
    76   [1]
    76   [1]
    77 
    77 
    78 A naive implementation of [rhg files] leaks the paths that are supposed to be
    78 A naive implementation of `rhg files` would leak the paths that are supposed
    79 hidden by narrow, so we just fall back to hg when accessing a revision.
    79 to be hidden by narrow.
    80 
    80 
    81   $ $NO_FALLBACK rhg files -r "$tip"
    81   $ $NO_FALLBACK rhg files -r "$tip"
    82   unsupported feature: rhg files -r <rev> is not supported in narrow clones
    82   dir1/x
    83   [252]
    83   dir1/y
    84   $ "$real_hg" files -r "$tip"
    84   $ "$real_hg" files -r "$tip"
    85   dir1/x
    85   dir1/x
    86   dir1/y
    86   dir1/y
    87 
    87 
    88 The working copy version works with narrow correctly
    88 The working copy version works with narrow correctly