tests/test-rhg.t
changeset 46462 d03b0601e0eb
parent 46461 f3f4d1b7dc97
child 46463 95b276283b67
equal deleted inserted replaced
46461:f3f4d1b7dc97 46462:d03b0601e0eb
   216 
   216 
   217 And check that basic rhg commands work with sharing
   217 And check that basic rhg commands work with sharing
   218 
   218 
   219   $ cd repo2
   219   $ cd repo2
   220   $ rhg files
   220   $ rhg files
   221   [252]
   221   a
   222   $ rhg cat -r 0 a
   222   $ rhg cat -r 0 a
   223   [252]
   223   a
   224 
   224 
   225 Same with relative sharing
   225 Same with relative sharing
   226 
   226 
   227   $ cd ..
   227   $ cd ..
   228   $ hg share repo2 repo3 --relative
   228   $ hg share repo2 repo3 --relative
   229   updating working directory
   229   updating working directory
   230   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   230   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   231 
   231 
   232   $ cd repo3
   232   $ cd repo3
   233   $ rhg files
   233   $ rhg files
   234   [252]
   234   a
   235   $ rhg cat -r 0 a
   235   $ rhg cat -r 0 a
   236   [252]
   236   a
   237 
   237 
   238 Same with share-safe
   238 Same with share-safe
   239 
   239 
   240   $ echo "[format]"         >> $HGRCPATH
   240   $ echo "[format]"         >> $HGRCPATH
   241   $ echo "use-share-safe = True" >> $HGRCPATH
   241   $ echo "use-share-safe = True" >> $HGRCPATH