* stg branch --create test v2.6.24-rc1 doesn't work
@ 2007-10-26 10:42 Aneesh Kumar
2007-10-29 17:11 ` Catalin Marinas
2007-11-02 9:24 ` Catalin Marinas
0 siblings, 2 replies; 4+ messages in thread
From: Aneesh Kumar @ 2007-10-26 10:42 UTC (permalink / raw)
To: catalin.marinas, kha, Git Mailing List
$ 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
[test@linux-review-ext]$ git log
Throws an error/warning in the above command.
Also import then gives
[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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: stg branch --create test v2.6.24-rc1 doesn't work
2007-10-26 10:42 stg branch --create test v2.6.24-rc1 doesn't work Aneesh Kumar
@ 2007-10-29 17:11 ` Catalin Marinas
2007-10-30 4:50 ` Aneesh Kumar
2007-11-02 9:24 ` Catalin Marinas
1 sibling, 1 reply; 4+ messages in thread
From: Catalin Marinas @ 2007-10-29 17:11 UTC (permalink / raw)
To: Aneesh Kumar; +Cc: kha, Git Mailing List
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
> [test@linux-review-ext]$ git log
>
>
> Throws an error/warning in the above command.
>
> Also import then gives
>
> [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
What version of StGIT are you using?
You could try 'stg branch --create test v2.6.24-rc1^{commit} but I
thought latest StGIT adds this by default.
--
Catalin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: stg branch --create test v2.6.24-rc1 doesn't work
2007-10-29 17:11 ` Catalin Marinas
@ 2007-10-30 4:50 ` Aneesh Kumar
0 siblings, 0 replies; 4+ messages in thread
From: Aneesh Kumar @ 2007-10-30 4:50 UTC (permalink / raw)
To: Catalin Marinas; +Cc: kha, Git Mailing List
On 10/29/07, Catalin Marinas <catalin.marinas@gmail.com> wrote:
> 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
> > [test@linux-review-ext]$ git log
> >
> >
> > Throws an error/warning in the above command.
> >
> > Also import then gives
> >
> > [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
>
> What version of StGIT are you using?
>
Latest stgit. d4356ac6143757131b58c95ca5c6a7b386cc6087
> You could try 'stg branch --create test v2.6.24-rc1^{commit} but I
> thought latest StGIT adds this by default.
>
-aneesh
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: stg branch --create test v2.6.24-rc1 doesn't work
2007-10-26 10:42 stg branch --create test v2.6.24-rc1 doesn't work Aneesh Kumar
2007-10-29 17:11 ` Catalin Marinas
@ 2007-11-02 9:24 ` Catalin Marinas
1 sibling, 0 replies; 4+ messages in thread
From: Catalin Marinas @ 2007-11-02 9:24 UTC (permalink / raw)
To: Aneesh Kumar; +Cc: kha, Git Mailing List
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
[...]
> [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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-11-02 9:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-26 10:42 stg branch --create test v2.6.24-rc1 doesn't work Aneesh Kumar
2007-10-29 17:11 ` Catalin Marinas
2007-10-30 4:50 ` Aneesh Kumar
2007-11-02 9:24 ` Catalin Marinas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).