> The rest of the problem was because I am new to Git --
> in subversion a release branch is always copied from the server so
> pulling latest changes locally before creating the branch did not
> cross my mind.

FYI, just as a side note for those interested in version control systems.

Contrary to what you say branching in SVN is very much like it is git.
It just depends how you create a branch (or a "path" in SVN). What you
did in git would be this in SVN world:

svn checkout http://repo/trunk
# [delay]
svn cp . http://repo/branches/foo

The trunk could have been changed in between on the server, this
wouldn't be reflected on the branch. What you're used to is
remote-copying, probably:

svn cp  http://repo/trunk http://repo/branches/foo

but this is, to be honest, a very questionable command since you have
absolutely no control over which version you're copying (which version
of trunk you're branching). And if you do specify a version (there is
such a possibility) this in no way differs from pulling changes from
remote in git, marking your "branching" commit and then creating a
branch from there.

Dawid

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to