1.3 and 1.2.1 Compatibility

Matt Mackall mpm at selenic.com
Thu Aug 6 17:52:50 CDT 2009


On Thu, 2009-08-06 at 17:37 -0400, Stephen Rasku wrote:
> We have a central Mercurial server that our build machine pulls from
> to make official builds.  This is currently on Hg 1.2.1.  We are
> considering upgrading this system to 1.3.  However, all of our
> developers will continue to use 1.2.1 until we can upgrade Python on
> their individual machines.
> 
> My impression is that the Mercurial development team is commited to
> maintaining backward compatibility for the repository format.  Is this
> correct?  If so, I should have no problems using 1.2.1 on a 1.3
> repository.  I understand the subrepos feature won't work on 1.2.1 but
> it will allow me to experiment with the feature on the server.  Am I
> missing anything?

We guarantee backward compatibility "over the wire". Any Mercurial
client can talk to any Mercurial server using http and ssh.

We do not guarantee backward compatibility "on disk". If you create a
repository with a newer Mercurial, older clients may not be able to read
it directly through the filesystem, whether that filesystem is a local
disk or a network share.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial mailing list