how to push selected changes only?

Martin Geisler martin at geisler.net
Sat Jan 18 20:58:28 UTC 2014


Steve Barnes <gadgetsteve at hotmail.com> writes:

> If you find that the commands work in a new clone but not in the
> original that might be due to the age of hg that you created the
> orig-dir with.

No, that is almost never the problem. The on-disk format of the
repositories have changed very little over the years.

When the format has changed, it has always been changed in a way so that
a new version of Mercurial can read/write the old version. That means
that it is always safe to upgrade Mercurial: Mercurial 2.8 can use a
repository that was created with Mercurial 1.0. If you create a new
repository with Mercurial 2.8, then Mercurial 1.0 will abort when it
tries to access it -- the old Mercurial will complain about an unknown
format or unknown requirement.

See the wiki for more details about the (rare) changes in repository
format:

  http://mercurial.selenic.com/wiki/UpgradingMercurial

-- 
Martin Geisler



More information about the Mercurial mailing list