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

Re: stg 0.14.3 breakage on push after moving hunk

From
Yann Dirson <ydirson@altern.org>
Date
Sep 25, 2008, 07:57 UTC
Message-ID
<20080925075732.GA17458@nan92-1-81-57-214-146.fbx.proxad.net>
In-Reply-To
<20080925072322.GA27632@diana.vm.bytemark.co.uk>
On Thu, Sep 25, 2008 at 09:23:22AM +0200, Karl Hasselström wrote:
> > TypeError: not all arguments converted during string formatting
> 
> No, but try this ...

Thanks, it does fix the exception - I feel a bit ashamed of not having looked at the code myself ;)

Nevertheless, that error was only hiding another more annoying problem:
$ ../stgit/stg push
Checking for changes in the working directory ... done
Pushing patch "factorize" ...
  Error: File "t/t4030-diff-rename-factorize.sh" added in both, permissions conflict
  Error: The merge failed during "push".  
         Use "refresh" after fixing the conflicts or revert the operation with "push --undo".
  stg push: GIT index merging failed (possible conflicts)
$ md5sum t/t4030-diff-rename-factorize.sh*
cc313acd2824036556128b3e0879dd07  t/t4030-diff-rename-factorize.sh
cc313acd2824036556128b3e0879dd07  t/t4030-diff-rename-factorize.sh.current
cc313acd2824036556128b3e0879dd07  t/t4030-diff-rename-factorize.sh.patched

AFAICT, adding the same file in 2 branches used not to produce a conflict at all. Is that intended ?

Best regards,
-- 
Yann
Previous: Karl HasselströmNext: Karl Hasselström
Message 3 of 5 in “stg 0.14.3 breakage on push after moving hunk”
  1. Yann DirsonSep 24, 2008
  2. Karl HasselströmSep 25, 2008
  3. Yann DirsonSep 25, 2008
  4. Karl HasselströmSep 25, 2008
  5. Yann DirsonSep 25, 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.