~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to TODO.Shelf

  • Committer: Michael Ellerman
  • Date: 2005-11-29 07:12:26 UTC
  • mto: (0.3.1 shelf-dev) (325.1.2 bzrtools)
  • mto: This revision was merged to the branch mainline in revision 334.
  • Revision ID: michael@ellerman.id.au-20051129071226-a04b3f827880025d
Unshelve --pick was broken, because we deleted the whole patch, even when only
part of it was unshelved. So now if we unshelve part of a patch, the patch is
replaced with a new patch that has just the unshelved parts. That's a long way
of saying it does what you'd expect.

Implementing this required changing HunkSelector to return both the selected,
and unselected hunks (ie. patches to shelve, and patches to keep).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
FEATURES
2
 
 
3
 
 * Shelving of committed changes. Three modes (config option?), either uncommit
4
 
   the committed changes (changing history) or apply the inverse diff (messy,
5
 
   but not so scary), or prompt.
6
 
 
7
 
 * shelf commands that operate on the shelved patches should assume the top
8
 
   most (highest numbered) patch if no argument is given, eg. show/del.
9
 
 
10
 
 * shelf del should create backups.
11
 
 
12
 
INTERNAL CRUD
13
 
 
14
 
 * Interact with bzr at a lower level, ie. not by parsing diffs. Will probably
15
 
   require changes to bzr core, or can we just use a delta object directly?
16
 
 
17
 
 * Write tests for --pick !!!