All of lore.kernel.org
 help / color / mirror / Atom feed
* [StGit PATCH 0/2] stg undo
@ 2008-05-09  0:44 Karl Hasselström
  2008-05-09  0:44 ` [StGit PATCH 1/2] Move stack reset function to a shared location Karl Hasselström
  2008-05-09  0:44 ` [StGit PATCH 2/2] New command: stg undo Karl Hasselström
  0 siblings, 2 replies; 3+ messages in thread
From: Karl Hasselström @ 2008-05-09  0:44 UTC (permalink / raw)
  To: Catalin Marinas; +Cc: git

Here's a fully general undo command for StGit. It uses the same
machinery as the "stg reset" I posted previously, but is more
convenient to use when all you want to do is undo the last operation.

The next step would be to remove all traces of "push --undo" et al.,
but I'll save that for another day.

For trying this out, pull from

  git://repo.or.cz/stgit/kha.git experimental

since a few of the patches below these two have been updated as well.
(For example, the log branch in <branchname>.stgit^ is now much more
human-readable.)

---

Karl Hasselström (2):
      New command: stg undo
      Move stack reset function to a shared location


 stgit/commands/reset.py  |   70 ++++---------------------------------
 stgit/commands/undo.py   |   49 ++++++++++++++++++++++++++
 stgit/lib/log.py         |   76 +++++++++++++++++++++++++++++++++++++++++
 stgit/lib/transaction.py |    1 +
 stgit/main.py            |    2 +
 t/t3102-undo.sh          |   86 ++++++++++++++++++++++++++++++++++++++++++++++
 t/t3103-undo-hard.sh     |   56 ++++++++++++++++++++++++++++++
 7 files changed, 277 insertions(+), 63 deletions(-)
 create mode 100644 stgit/commands/undo.py
 create mode 100755 t/t3102-undo.sh
 create mode 100755 t/t3103-undo-hard.sh

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-09  0:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-09  0:44 [StGit PATCH 0/2] stg undo Karl Hasselström
2008-05-09  0:44 ` [StGit PATCH 1/2] Move stack reset function to a shared location Karl Hasselström
2008-05-09  0:44 ` [StGit PATCH 2/2] New command: stg undo Karl Hasselström

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.