##// END OF EJS Templates
mq: pop/refresh: avoid losing revisions not managed by mq...
mq: pop/refresh: avoid losing revisions not managed by mq We already disallow committing on top of an mq revision exactly to avoid losing this new revision during a qpop/qrefresh, so this can be seen as an additional safety check. If this is not enough to fix issue844, it should at least prevent it from happening.

File last commit:

r4659:7a7d4937 default
r5980:dcda0c90 default
Show More
test-issue433
10 lines | 135 B | text/plain | TextLexer
#!/bin/sh
# http://www.selenic.com/mercurial/bts/issue433
hg init a
cd a
echo a > a
hg commit -Ama
hg parents -r 0 doesnotexist
true