tests/test-narrow.t
changeset 51275 39f7b2b53c68
parent 50714 e5c1e7aec973
child 51276 03665fd8ccb9
equal deleted inserted replaced
51274:bec6e9c108fd 51275:39f7b2b53c68
   542   looking for local changes to affected paths
   542   looking for local changes to affected paths
   543   deleting data/d0/f.i
   543   deleting data/d0/f.i
   544   deleting meta/d0/00manifest.i (tree !)
   544   deleting meta/d0/00manifest.i (tree !)
   545   deleting unwanted files from working copy
   545   deleting unwanted files from working copy
   546   not deleting possibly dirty file d0/f
   546   not deleting possibly dirty file d0/f
       
   547 
       
   548 
       
   549 Test removing `rootfilesin:` include
       
   550   $ hg clone --narrow ssh://user@dummy/master narrow-concurrent-modify -q \
       
   551   > --include rootfilesin:d0 --include rootfilesin:d1
       
   552   $ cd narrow-concurrent-modify
       
   553 #if flat
       
   554   $ hg --config 'hooks.pretxnopen = echo modified >> d0/f' tracked --removeinclude rootfilesin:d0
       
   555   comparing with ssh://user@dummy/master
       
   556   searching for changes
       
   557   looking for local changes to affected paths
       
   558   deleting data/d0/f.i
       
   559   deleting unwanted files from working copy
       
   560   not deleting possibly dirty file d0/f
       
   561 #endif
       
   562 #if tree
       
   563   $ hg --config 'hooks.pretxnopen = echo modified >> d0/f' tracked --removeinclude rootfilesin:d0
       
   564   comparing with ssh://user@dummy/master
       
   565   searching for changes
       
   566   looking for local changes to affected paths
       
   567   deleting data/d0/f.i
       
   568   deleting meta/d0/00manifest.i
       
   569   deleting meta/d1/00manifest.i (known-bad-output !)
       
   570   deleting unwanted files from working copy
       
   571   not deleting possibly dirty file d0/f
       
   572   abort: meta/d1/00manifest@77a3e194be076ae47ba9282271028916012d815c: no node (known-bad-output !)
       
   573   [50]
       
   574 #endif