Switch from SVN to xxx ?

Didly Bom didlybom at gmail.com
Thu Jun 3 15:25:19 BST 2010


On Thu, Jun 3, 2010 at 4:13 PM, Martin Geisler <mg at aragost.com> wrote:

> Ben Finney <ben+bazaar at benfinney.id.au <ben%2Bbazaar at benfinney.id.au>>
> writes:
>
> > Nicolas Pinault <nicolasp at aaton.com> writes:
> >
> >> - If I switch to one of them, which one ?
> >
> > Bazaar gets several things right IMO. Rather than repeat them here,
> > try
> > <URL:
> http://doc.bazaar.canonical.com/migration/en/why-switch-to-bazaar.html>
> > if you haven't already.
> >
> > In my experience the main advantages of Bazaar over the competition
> > are:
> >
> > * Direct tracking of rename, instead of figuring it out each time from
> >   secondary data and occasionally getting it wrong.
> >   <URL:http://www.markshuttleworth.com/archives/123>
>
> Please note that Mercurial tracks renames just like Bazaar and
> Subversion -- you tell Mercurial about it and make your commit.
>
> You should also note that the article has a fair amount of FUD. Mark
> deliberatedly talks about "guessing" because he wants to make Git look
> bad, though it seems to work fine for them. He also make a great deal
> about how Mercurial used to say
>
>  copying ipc/Makefile to foo/Makefile
>  removing ipc/Makefile
>
> when you move the 'ipc' directory to 'foo'. What he doesn't seem to
> understand is that Mercurial makes a note in 'foo/Makefile', saying that
> it came from 'ipc/Makefile'. So Mercurial knows very well that the file
> was renamed, no guessing involved. Newer versions simply say
>
>  moving ipc/Makefile to foo/Makefile
>

I'm glad that you explained this since I personally thought that this was
the case. In particular I had read (and taken at face value) the following
statement:

"In comparison, Subversion and Mercurial treat a rename as “copy+delete”
behind the scenes while Git infers renames on request"

This is somewhat reinforced when using TortoiseHg because when you rename a
file it is marked as an addition + deletion on the commit window. This is
not something that has ever caused me problems, but I thought that it was a
small weakness of Mercurial compared to Bazaar. I'm glad to learn that this
is not the case!

I bet that there is quite a few people who have read Mark's remarks and
still believe (as I did) that Bazaar has superior rename handling (compared
to Mercurial).

Angel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20100603/e263d2c4/attachment.htm 


More information about the bazaar mailing list