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

Merge failure problem with cogito: How to fixup?

From
Horst von Brand <vonbrand@inf.utfsm.cl>
Date
Oct 23, 2005, 15:57 UTC
Message-ID
<200510231557.j9NFvptA020919@inti.inf.utfsm.cl>
When doing the following:
   mkdir /tmp/tst1
   cd /tmp/tst1
   echo "Initial" | cg-init 
      
   cd /tmp
   cg-clone tst1 tst2
   
   cd /tmp/tst1
   echo 'Hi there!' > greet
   cg-add greet
   cg-commit -m "Add greet"
   
   cd /tmp/tst2
   echo 'Hello!' > greet
   cg-add greet
   cg-commit -m "Add greet"
   cg-update

I get a message to the end that the merge doesn't work, and that I have to fix up by hand. The resulting greet file has no merge markers, plain "cg-diff" is useless. How am I supposed to find out what the problem is?

Yes, "cg-diff -r origin:HEAD" does the trick, but...
-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513
Next: Petr Baudis
Message 1 of 2 in “Merge failure problem with cogito: How to fixup?”
  1. Horst von BrandOct 23, 2005
  2. Petr BaudisOct 23, 2005

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.