comparison docs/sharing.rst @ 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 8784dfc6537c
children d1066fb2c95a
comparison
equal deleted inserted replaced
4698:b89495215c6e 4699:dfd88e3fa90a