darcs

Issue 2376 pull --reorder

Title pull --reorder
Priority wishlist Status resolved
Milestone Resolved in 2.10.0
Superseder Nosy List alex.aegf, darcs-devel, gh
Assigned To alex.aegf
Topics

Created on 2014-04-11.17:47:53 by gh, last changed 2014-07-23.13:35:59 by gh.

Messages
msg17334 (view) Author: gh Date: 2014-04-11.17:47:51
When working in some repository that has private patches, and pulling
patches from upstream, I'd sometimes like to find my patches at the top
of the history of my local repo. This would help me visualizing my
current work.

I'd like to do it by using the flag --reorder for pull. Intuitively,
since the pull command does already the job of comparing the inventories
of both remote and local repositories, there should not be a lot of work
to implement --reorder.

Use cases:

* `darcs pull --reorder --dry-run` : does nothing apart from listing
missing remote patches
* `darcs pull --reorder` : pull missing patches and put own on top
* `darcs pull` : pull missing patches and put *them* on top (current
behaviour)

Reordering should happen even if the user says "no" to all remote
patches (in case there are local-only patches buried in the history).

In case of conflict I suspect we should not attempt to do anything new.
msg17622 (view) Author: gh Date: 2014-07-23.13:35:58
Resolved by ALe Gadea's patch 'New option "--reorder" for the command pull 
and apply.'
History
Date User Action Args
2014-04-11 17:47:53ghcreate
2014-07-23 13:35:59ghsetstatus: unknown -> resolved
messages: + msg17622
resolvedin: 2.10.0