Re: git-svn and huge data and modifying the git-svn-HEAD branch directly

From: Eric Wong <normalperson@yhbt.net>
Date: 2006-02-28 06:24:22
Jan Harkes <jaharkes@cs.cmu.edu> wrote:
> On Mon, Feb 27, 2006 at 10:46:41AM -0800, Eric Wong wrote:
> > > now i am a little confused about that... oh, i actually modified the
> > > svn-git directly instead of a private working branch... perhaps that was
> > > not intended.
> > 
> > You should never, ever modify the git-svn-HEAD branch yourself.
> > Interface branches should never be modified.  It's the golden rule of
> > interfacing between different SCM interfaces.  Sorry, I've been doing
> > things like this this for a while now I guess I didn't make it
> > abundantly clear in the documentation.
> 
> If it is not supposed to be changed by the user, maybe it could be
> stored as a tag.
> 
> Or maybe another type of reference can be introduced. refs/remote/, for
> branches we are tracking, but which should not be modified locally.

Either of those could work for me.  Changing git-svn-HEAD to become a
tag would probably be easier (not having to update other tools, such as
git-fetch), but refs/remote may make more sense.

-- 
Eric Wong
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Feb 28 06:24:57 2006

This archive was generated by hypermail 2.1.8 : 2006-02-28 06:25:10 EST