Mercurial > evolve
comparison docs/test2rst.py @ 4699:dfd88e3fa90a stable
prune: update to the successor of wdir also with --pair/--biject (issue6142)
When prune is used with --pair flag, we can also update to the successor of
working directory parent.
No need to check len(sucs) or len(precs) here because there's a check for that
earlier in the code (it's a requirement of biject).
The tests are now demonstrate the correct behavior: when rev 14 was pruned with
12 as its successor, the bookmark that was on 14 was moved to 12. That bookmark
was also activated (even before this patch).
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 29 Jun 2019 18:21:57 +0800 |
parents | 1a4f26eec0af |
children | 16c1398b0063 |
comparison
equal
deleted
inserted
replaced
4698:b89495215c6e | 4699:dfd88e3fa90a |
---|