sapling/eden/scm/tests/test-update-symlink-to-plain.t
Xavier Deguillard 16777c3d81 merge: remove the rustworkers option
Summary: It's now the default.

Reviewed By: DurhamG

Differential Revision: D21981563

fbshipit-source-id: 9e27e65ea8e47019f1542a505f5b7726c2cbeba2
2020-06-10 20:10:29 -07:00

32 lines
647 B
Perl

#chg-compatible
#require symlink
#testcases legacyupdater rustupdater
$ configure modern
#if rustupdater
$ setconfig remotefilelog.useruststore=True
#endif
$ newserver server1
$ clone server1 client
$ cd client
$ echo 'CONTENT' > file
$ ln -s file link
$ hg commit -qAm "first commit"
$ hg rm link
$ echo 'NO LONGER A LINK' > link
$ hg commit -qAm "second"
$ hg prev
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
[7e5b26] first commit
$ hg next
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
[3165d5] second
$ cat link
NO LONGER A LINK
$ cat file
CONTENT