Proper tracking of file-level operations: rename, directories, merges

Barry Warsaw barry at canonical.com
Tue Oct 25 14:01:42 UTC 2011


On Oct 25, 2011, at 10:58 AM, Martin Geisler wrote:

>Fixing it would violate our backwards compatibility rules. We maintain a
>stable output format so that people can write shell scripts and whatnot
>around Mercurial -- the output of 'hg status' is probably the most
>important output of them all.
>
>Personally, I think that's a little backwards, but that's how it is.
>People who want a more high-level API are welcome to use something like
>JavaHg[1] or python-hglib[2].

That's another interesting distinction between Mercurial and Bazaar, I think.
In some sense the `bzr` command is just a thin layer on top of a library, and
it's the library which makes guarantees about API stability.  I think that's a
much more sane guarantee to make.  IIUC, Mercurial does not make that same
guarantee about its core library.  I could be wrong about that, but that's
what I learned after discussions of the issue at last year's PyCon.

-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20111025/5d4fd72f/attachment.pgp>


More information about the bazaar mailing list