mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
eb5acf9222
Summary: These tests rely on sleep to simulate race conditions. They are the largest source of hgbuild breakages. Let's just disable them. Most of this code is going away in a couple months anyway when Mononoke takes over and revlogs go away. Also fixes a failure in test-bookmarks-strip.t that showed up. Reviewed By: singhsrb Differential Revision: D23922660 fbshipit-source-id: 35cacc19de03c031c84c1ebf2124884f4b4248e6
63 lines
914 B
Perl
63 lines
914 B
Perl
#chg-compatible
|
|
|
|
$ configure modern
|
|
$ hg init repo
|
|
$ cd repo
|
|
|
|
$ echo qqq>qqq.txt
|
|
|
|
add file
|
|
|
|
$ hg add
|
|
adding qqq.txt
|
|
|
|
commit first revision
|
|
|
|
$ hg ci -m 1
|
|
|
|
set bookmark
|
|
|
|
$ hg book test
|
|
|
|
$ echo www>>qqq.txt
|
|
|
|
commit second revision
|
|
|
|
$ hg ci -m 2
|
|
|
|
set bookmark
|
|
|
|
$ hg book test2
|
|
|
|
update to -2 (deactivates the active bookmark)
|
|
|
|
$ hg update -r '.^'
|
|
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
|
|
(leaving bookmark test2)
|
|
|
|
$ echo eee>>qqq.txt
|
|
|
|
commit new head
|
|
|
|
$ hg ci -m 3
|
|
|
|
bookmarks updated?
|
|
|
|
$ hg book
|
|
test 1:25e1ee7a0081
|
|
test2 1:25e1ee7a0081
|
|
|
|
strip to revision 1
|
|
|
|
$ hg hide 'desc(2)'
|
|
hiding commit 25e1ee7a0081 "2"
|
|
1 changeset hidden
|
|
removing bookmark "test (was at: 25e1ee7a0081)"
|
|
removing bookmark "test2 (was at: 25e1ee7a0081)"
|
|
2 bookmarks removed
|
|
|
|
list bookmarks
|
|
|
|
$ hg book
|
|
no bookmarks set
|