Re: git-svn and huge data and modifying the git-svn-HEAD branch directly
- From
Jan Harkes <jaharkes@cs.cmu.edu>
- Date
- Feb 27, 2006, 18:55 UTC
- Message-ID
- <20060227185557.GA32142@delft.aura.cs.cmu.edu>
- In-Reply-To
- <20060227184641.GA21684@hand.yhbt.net>
On Mon, Feb 27, 2006 at 10:46:41AM -0800, Eric Wong wrote:
Show 9 quoted lines
> > 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.
Jan