mirror of
https://github.com/facebook/sapling.git
synced 2025-01-06 04:43:19 +03:00
tests: take extra care for fsmonitor at enabling incompatible extension
This is worthwhile, because these tests don't focus mainly on using incompatible extensions itself.
This commit is contained in:
parent
8d7e2a7179
commit
8f3aa7a7e3
@ -4,9 +4,7 @@
|
||||
# with fsmonitor, use subrepositories, or don't anticipate the extra file in
|
||||
# the .hg directory that fsmonitor adds.
|
||||
test-basic.t
|
||||
test-blackbox.t
|
||||
test-commandserver.t
|
||||
test-copy.t
|
||||
test-debugextensions.t
|
||||
test-eol-add.t
|
||||
test-eol-clone.t
|
||||
|
@ -135,10 +135,17 @@ extension and python hooks - use the eol extension for a pythonhook
|
||||
$ echo '[hooks]' >> .hg/hgrc
|
||||
$ echo 'update = echo hooked' >> .hg/hgrc
|
||||
$ hg update
|
||||
The fsmonitor extension is incompatible with the eol extension and has been disabled. (fsmonitor !)
|
||||
hooked
|
||||
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
|
||||
updated to "d02f48003e62: c"
|
||||
1 other heads for branch "default"
|
||||
$ cat >> .hg/hgrc <<EOF
|
||||
> [extensions]
|
||||
> # disable eol, because it is not needed for subsequent tests
|
||||
> # (in addition, keeping it requires extra care for fsmonitor)
|
||||
> eol=!
|
||||
> EOF
|
||||
$ hg blackbox -l 6
|
||||
1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> update
|
||||
1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> writing .hg/cache/tags2-visible with 0 tags
|
||||
|
@ -192,6 +192,7 @@ should show copy
|
||||
XXX: filtering lfilesrepo.status() in 3.3-rc causes the copy source to not be
|
||||
displayed.
|
||||
$ hg st -C --config extensions.largefiles=
|
||||
The fsmonitor extension is incompatible with the largefiles extension and has been disabled. (fsmonitor !)
|
||||
M bar
|
||||
foo
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user