These two refactors aren't directly related, apart from being concerned with
UpdatePending parameter.
2 patches for repository http://darcs.net/screened:
patch a23e1eab6822d362d991a8da5370b0ab2e43fc93
Author: Ben Franksen <ben.franksen@online.de>
Date: Fri Jan 22 18:33:46 CET 2021
* remove UpdatePending parameter to withRepoLock
It turned out that we always call that procedure with YesUpdatePending, so
we can as well hard-code it.
patch 4f9ac2caf52b420538798dddc15f4211c1fdcaa8
Author: Ben Franksen <ben.franksen@online.de>
Date: Tue Mar 2 14:13:40 CET 2021
* obliterate, rebase suspend: pass NoUpdatePending to tentativelyRemovePatches
This avoids the redundant use of the (unsafe) tentativelyAddToPending to
remove what gets added to pending with YesUpdatePending.
Attachments
|