##// END OF EJS Templates
tests: demonstrate error when narrowing with `rootfilesin:` pattern...
Martin von Zweigbergk -
r52168:39f7b2b5 default
parent child Browse files
Show More
@@ -544,3 +544,31 b' Test removing include while concurrently'
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
General Comments 0
You need to be logged in to leave comments. Login now