threads / discuss / 10224

stg branch command failures.

Subject: stg branch command failures.

## tl;dr

3 messages between Oct 10, 2007 and Oct 10, 2007.

replies: 2people: 3as markdown or json

Aneesh Kumar· Oct 10, 2007, 03:31 UTC · lore
Hi,
Both the below commands doesn't work

stg branch --rename review test-large-file stg branch -c review v2.6.23-rc9

It throws error fatal: Needed a single revision

-aneesh
Karl Hasselström· Oct 10, 2007, 07:34 UTC · re: Aneesh Kumar · lore

Re: stg branch command failures.

On 2007-10-10 09:01:22 +0530, Aneesh Kumar wrote:
Show 7 quoted lines
> Both the below commands doesn't work
>
> stg branch --rename review test-large-file
> stg branch -c review v2.6.23-rc9
>
> It throws error
> fatal: Needed a single revision

It works for me, in the kha/experimental branch. And I suspect it also works with kha/safe, since safe..experimental doesn't seem to contain anything relevant to this. What version are you using?

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Catalin Marinas· Oct 10, 2007, 08:47 UTC · re: Aneesh Kumar · lore

Re: stg branch command failures.

On 10/10/2007, Aneesh Kumar <aneesh.kumar@gmail.com> wrote:
Show 7 quoted lines
> Both the below commands doesn't work
>
> stg branch --rename review test-large-file
> stg branch -c review v2.6.23-rc9
>
> It throws error
> fatal: Needed a single revision

What version of GIT are you using? I started getting this message recently as well but only noticed it when renaming patches. However, the operation completes successfully (the message is displayed by GIT, not StGIT). I'll have to investigate.

-- 
Catalin

← back to recent threads