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

Re: Stgit and refresh-temp

From
Karl Hasselström <kha@treskal.com>
Date
Nov 12, 2008, 08:01 UTC
Message-ID
<20081112080103.GA25454@diana.vm.bytemark.co.uk>
In-Reply-To
<b0943d9e0811110959t4eb236bvd648fbca5e482911@mail.gmail.com>
On 2008-11-11 17:59:02 +0000, Catalin Marinas wrote:
Show 17 quoted lines
> 2008/11/7 Karl Hasselström <kha@treskal.com>:
>
> > On 2008-11-04 08:37:24 -0500, Jon Smirl wrote:
> >
> > > I hit a case when refreshing a buried patch that needed a merge
> > > conflict sorted out. I'm unable to recover out of the state.
> >
> > Hmm, so what you're saying is basically that you did something
> > with "stg refresh -p" that caused a merge conflict, and that
> > messed things up so that you needed to run "stg repair". Is that
> > right?
>
> Could be related to this - if I run 'stg goto some-patch' and it
> fails with a conflict, the HEAD points to the previous patch though
> the stack has the conflicting patch as empty (which is normal) and
> the conflicts in the index. Anything after that says HEAD and top
> not equal and 'stg repair' is needed.

Ah, yes, that could definitely be the same problem, since those two things end up calling the same functions to handle the conflict.

I'll build a test case for that as well.
-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Catalin MarinasNext: Catalin Marinas
Message 8 of 14 in “Stgit and refresh-temp”
  1. Jon SmirlNov 4, 2008
  2. Jon SmirlNov 4, 2008
  3. Jon SmirlNov 4, 2008
  4. Karl HasselströmNov 7, 2008
  5. Jon SmirlNov 10, 2008
  6. Jon SmirlNov 10, 2008
  7. Catalin MarinasNov 11, 2008
  8. Karl HasselströmNov 12, 2008
  9. Catalin MarinasNov 12, 2008
  10. Karl HasselströmNov 12, 2008
  11. Catalin MarinasNov 23, 2008
  12. Karl HasselströmNov 24, 2008
  13. Jon SmirlNov 24, 2008
  14. Karl HasselströmNov 12, 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.