Example work flows for Hg/SVN interaction

François Gannaz francois.gannaz at free.fr
Tue May 4 19:29:24 UTC 2010


Hi

Le 2010-05-04, Harvey Chapman <hchapman-hg at 3gfp.com> a écrit :
> Hi,
> 
> Are there any guides about working with hg and subversion? I'm not looking
> for guides about how to use HgSubversion, but rather about how it's actually
> used in practice. For example, I'm under the impression that some people use
> an extension to fold or clean up their hg history before pushing. Is there a
> preference for that or do people prefer to just push all of the hg commits
> into SVN?

I use hgsubversion because the hg client is far better than svn (hooks,
color, etc). I also use `hg rollback`, especially when I made a small mistake in
the previous commit and I don't want a separate log entry. Sometimes, I use
`histedit` to fold a few commits into a single one before pushing them to
subversion.

My main use is the ability to try locally some changes before deciding to send
them upstream.

But when I push to Subversion, I push it all: one can't push with `-r`, that's
not (yet) implemented in hgsubversion.

Regards
--
François Gannaz



More information about the Mercurial mailing list