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

Re: stg branch --create test v2.6.24-rc1 doesn't work

From
CMCatalin Marinas <catalin.marinas@gmail.com>
Date
Nov 2, 2007, 09:24 UTC
Message-ID
<b0943d9e0711020224q6e4b6acn5879183dd14b6fff@mail.gmail.com>
In-Reply-To
<cc723f590710260342t5fd0bdc3nc1ea5198cea1a604@mail.gmail.com>
On 26/10/2007, Aneesh Kumar <aneesh.kumar@gmail.com> wrote:
> $ stg branch --create test v2.6.24-rc1
> Checking for changes in the working directory ... done
> Don't know how to determine parent branch from "v2.6.24-rc1"
> Branch "test" created
[...]
Show 5 quoted lines
> [test@linux-review-ext]$ stg import
> /home/opensource/patches/ext4-patch-queue/ext4_mballoc_freespace_accounting_fix.patch
> Checking for changes in the working directory ... done
> fatal: cebdeed27b068dcc3e7c311d7ec0d9c33b5138c2 is not a valid 'commit' object
> stg import: git-commit-tree failed with code 128

The problem is that a tag id is used as the head of the stack rather than the corresponding commit id. I modified StGIT to get the commit id (and, as I said, you can work around this in the meantime by passing "v2.6.24-rc1^{commit}" to the branch command).

I'll push the changes tonight but I have to solve the branch deletion as it is left in an inconsistent state after import (and --force should be able to deal with it but it doesn't).

-- 
Catalin
Previous: Aneesh Kumar
Message 4 of 4 in “stg branch --create test v2.6.24-rc1 doesn't work”
  1. Aneesh KumarOct 26, 2007
  2. Catalin MarinasOct 29, 2007
  3. Aneesh KumarOct 30, 2007
  4. Catalin MarinasNov 2, 2007

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.