Re: git-svn and huge data and modifying the git-svn-HEAD branch directly
- From
- Eric Wong <normalperson@yhbt.net>
- Date
- Feb 27, 2006, 19:24 UTC
- Message-ID
- <20060227192422.GB9518@hand.yhbt.net>
- In-Reply-To
- <20060227185557.GA32142@delft.aura.cs.cmu.edu>
Jan Harkes <jaharkes@cs.cmu.edu> wrote:
Show 16 quoted lines
> 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