Hash: SHA1

should have gone to the mailing list instead, sorry

- -------- Original-Nachricht --------
Betreff: Re: [th-users] Branching in a TH repository
Datum: Sun, 15 Jan 2012 03:50:22 +0100
Von: Steffen Hoffmann <hoff...@web.de>
An: Chris Nelson <chris.nel...@sixnet.com>

Am 14.01.2012 22:40, wrote Chris Nelson:
> On 01/14/2012 03:37 PM, Steffen Hoffmann wrote:
>> Hash: SHA1
>> Am 14.01.2012 21:18, wrote Chris Nelson:
>>> I use git-svn to keep the local view of my plugin repository at TH.  I'd
>>> like to create stable and development branches but can't figure out how
>>> to use `git svn branch`.  ...  Any help appreciated.
>> SVN doesn't know the concept of branching [1].
> I can barely spell SVN but the git-svn man page says:
>     ....
>     branch
>            Create a branch in the SVN repository.
>     ....
> <shrug>

It doesn't say how exactly, but for non-obvious reasons you choose to
not believe even the cited reference. I just wanted to help. SVN doesn't
know the concept of branching as you may be familiar with it from Git.
When you branch in SVN, you just create a copy with a reference to the
original. It's all laid out clearly in sub-directories, hence this kind
of "branching" is only possible on the directory level, never on a file

from git svn man page:

# Create a new branch in SVN
    git svn branch waldo
# Reset your master to trunk (or any other branch, replacing 'trunk'
# with the appropriate name):
        git reset --hard remotes/trunk
# You may only dcommit to one branch/tag/trunk at a time.  The usage
# of dcommit/rebase/show-ignore should be the same as above.

Think about why you need to do this resetting and stuff.

> Surely Subversion has a way to say "this is stable" and "this is
> experimental."

Sure, but not just a label. It's all "coded" into directory names.

>> So I recommend to just
>> copy folders as required and commit. At least this is working for me
>> with hgsubversion in the Mercurial world.
> I don't know what you mean by "copy folders".

Sub-directories, folders, don't know how to tell you better ...

Maybe someone more familiar with Git can explain better.

Steffen Hoffmann
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

th-users mailing list

Reply via email to