# stg branch command failures.

3 messages from 2007-10-10 to 2007-10-10. Participants: Aneesh Kumar, Karl Hasselström, Catalin Marinas.
Thread: https://gitlist.dev/t/10224

## Aneesh Kumar, 2007-10-10 03:31

Subject: stg branch command failures.
Message-ID: <cc723f590710092031w87511dfl6ee3b728375f0815@mail.gmail.com>
URL: https://gitlist.dev/e/cc723f590710092031w87511dfl6ee3b728375f0815%40mail.gmail.com

```
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, 2007-10-10 07:34

Subject: Re: stg branch command failures.
Message-ID: <20071010073457.GA12970@diana.vm.bytemark.co.uk>
URL: https://gitlist.dev/e/20071010073457.GA12970%40diana.vm.bytemark.co.uk
In-Reply-To: <cc723f590710092031w87511dfl6ee3b728375f0815@mail.gmail.com>

```
On 2007-10-10 09:01:22 +0530, Aneesh Kumar wrote:

> 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, 2007-10-10 08:47

Subject: Re: stg branch command failures.
Message-ID: <b0943d9e0710100147n5bcd52d4waa8b52efb41b4270@mail.gmail.com>
URL: https://gitlist.dev/e/b0943d9e0710100147n5bcd52d4waa8b52efb41b4270%40mail.gmail.com
In-Reply-To: <cc723f590710092031w87511dfl6ee3b728375f0815@mail.gmail.com>

```
On 10/10/2007, Aneesh Kumar <aneesh.kumar@gmail.com> wrote:
> 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

```
