git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Can I remove stg sync --undo ?

From
Karl Hasselström <kha@treskal.com>
Date
Jul 2, 2008, 07:25 UTC
Message-ID
<20080702072524.GA26805@diana.vm.bytemark.co.uk>

I'm preparing a patch that removes all the old --undo flags, and discovered that stg sync has an --undo flag backed by stack.undo_refresh().

Is it OK if I remove it? "stg undo" will allow you to undo the whole command, or, in case of conflicts, either the whole command or just the last conflicting push. But it does not allow for undoing the last refresh (whether it succeeded or not). I don't know how refresh is used, so I can't really tell if "stg undo" is currently insufficient.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Next: Catalin Marinas
Message 1 of 7 in “Can I remove stg sync --undo ?”
  1. Karl HasselströmJul 2, 2008
  2. Catalin MarinasJul 3, 2008
  3. Karl HasselströmJul 4, 2008
  4. Catalin MarinasJul 4, 2008
  5. Karl HasselströmJul 5, 2008
  6. Catalin MarinasJul 7, 2008
  7. Karl HasselströmJul 8, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.