Can't create a branch

Bryan germish at gmail.com
Sat Oct 10 09:47:31 CDT 2009


Almost there...

hg branch --help

"With no argument, show the current branch name. With one argument,
    set the working directory branch name (the branch will not exist
    in the repository until the next commit)."

--Bryan

2009/10/10 Octavian Râşniţă <orasnita at gmail.com>:
> Hi,
>
> Under Windows XP, using Mercurial Distributed SCM (version 1.3.1)
> I have tried to create and see a branch, but I couldn't do it.
>
> Please tell me if I am doing something wrong or missing something:
>
> E:\lucru\mercurial>md xxx
> E:\lucru\mercurial>cd xxx
> E:\lucru\mercurial\xxx>hg init
> E:\lucru\mercurial\xxx>echo foo > file.txt
> E:\lucru\mercurial\xxx>hg commit -A
> adding file.txt
> No username found, using 'Octavian at teddy' instead
> E:\lucru\mercurial\xxx>hg branch stable
> marked working directory as branch stable
> E:\lucru\mercurial\xxx>hg branches
> default                        0:3a959d20bb1d
> E:\lucru\mercurial\xxx>hg update stable
> abort: unknown revision 'stable'!
>
>
> Thank you.
>
> Octavian
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>



More information about the Mercurial mailing list