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

Re: [topgit] tg update error

From
Bert Wesarg <bert.wesarg@googlemail.com>
Date
Feb 12, 2009, 11:29 UTC
Message-ID
<36ca99e90902120329v2351174cg4597e4995c4e4274@mail.gmail.com>
In-Reply-To
<20090212093227.GC20248@piper.oerlikon.madduck.net>
On Thu, Feb 12, 2009 at 10:32, martin f krafft <madduck@madduck.net> wrote:
Show 30 quoted lines
> also sprach Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> [2009.02.12.1025 +0100]:
>> Latest git and topgit. Moving to git version v1.6.1.3 fixed the issue.
>> I can reproduce the problem on any test repo. Just do a tg update after
>> committing something in the dependent branch.
>
> This is not helpful. Please provide a complete transcript of
> a session reproducing the problem.
>
> I can't:
>
> piper:~|master|.tmp/cdt.GydvBgiR% echo foo > bar                                                 #10002
> piper:~|master|.tmp/cdt.GydvBgiR% giti                                                           #10003
> Initialized empty Git repository in /home/madduck/.tmp/cdt.GydvBgiR/.git/
> Created initial commit 0f189f3: initial checkin
>  1 files changed, 1 insertions(+), 0 deletions(-)
>  create mode 100644 bar
> piper:~/.tmp/cdt.GydvBgiR|master|% tg create test                                                #10004
> tg: Automatically marking dependency on master
> tg: Creating test base from master...
> Switched to a new branch "test"
> tg: Topic branch test set up. Please fill .topmsg now and make initial commit.
> tg: To abort: git rm -f .top* && git checkout master && tg delete test
> cached/staged changes:
>  .topdeps |    1 +
>  .topmsg  |    6 ++++++
> piper:~/.tmp/cdt.GydvBgiR|master|% git commit -minit                                             #10005
> Created commit d49ea41: init
>  2 files changed, 7 insertions(+), 0 deletions(-)
>  create mode 100644 .topdeps
>  create mode 100644 .topmsg

If I interpret the 'how to reproduce' right, you have to switch to the master branch here.

Show 9 quoted lines
> piper:~/.tmp/cdt.GydvBgiR|test|% echo bar >> bar                                                 #10006
> changes on filesystem:
>  bar |    1 +
> piper:~/.tmp/cdt.GydvBgiR|test|% git add bar                                                     #10007
> cached/staged changes:
>  bar |    1 +
> piper:~/.tmp/cdt.GydvBgiR|test|% git commit -m'append'                                           #10008
> Created commit e85457e: append
>  1 files changed, 1 insertions(+), 0 deletions(-)
And switch back to branch test here.
Show 10 quoted lines
> piper:~/.tmp/cdt.GydvBgiR|test|% tg update                                                       #10009
> tg: The base is up-to-date.
> tg: The test head is up-to-date wrt. the base.
> piper:~/.tmp/cdt.GydvBgiR|test|% git --version                                                   #10010
> git version 1.6.0.2
> piper:~/.tmp/cdt.GydvBgiR|test|% tg --version                                                    #10011
> Unknown subcommand: --version
> TopGit v0.5 - A different patch queue manager
> Usage: tg [-r REMOTE] (create|delete|depend|export|import|info|mail|patch|remote|summary|update|help) ...
>
Bert
Previous: Aneesh Kumar K.VNext: Jeff King
Message 6 of 20 in “[topgit] tg update error”
  1. Aneesh KumarFeb 12, 2009
  2. martin f krafftFeb 12, 2009
  3. Aneesh Kumar K.VFeb 12, 2009
  4. martin f krafftFeb 12, 2009
  5. Aneesh Kumar K.VFeb 12, 2009
  6. Bert WesargFeb 12, 2009
  7. Jeff KingFeb 12, 2009
  8. Jeff KingFeb 12, 2009
  9. martin f krafftFeb 12, 2009
  10. Junio C HamanoFeb 12, 2009
  11. martin f krafftFeb 12, 2009
  12. Junio C HamanoFeb 12, 2009
  13. martin f krafftFeb 13, 2009
  14. Junio C HamanoFeb 13, 2009
  15. Junio C HamanoFeb 13, 2009
  16. Jeff KingFeb 13, 2009
  17. Junio C HamanoFeb 14, 2009
  18. Jeff KingFeb 14, 2009
  19. Junio C HamanoFeb 14, 2009
  20. Jeff KingFeb 14, 2009

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.