Defect #7272
closed
Mercurial test repository not compatible with old hg versions
Added by Jean-Philippe Lang over 14 years ago.
Updated about 14 years ago.
Description
The recently committed mercurial repository can not be read with old mercurial versions. For example, I'm getting the following error with hg 1.3:
abort: requirement 'dotencode' not supported!
In r4676, I replaced the tar.gz fixture with a hg bundle and adapted the rake task to setup the test repository. Tested with hg 1.3 and 1.7.
Toshi, can you check that it's OK?
r4676 is great idea.
I confirmed source:trunk/test/fixtures/repositories/mercurial_repository.hg@4676 is compatible with Mercurial 1.0.
$ hg clone -U http://selenic.com/repo/hg hg-stable
$ cd hg-stable
$ hg update 1.0
$ make local
$ LANG=C ./hg --version
Mercurial Distributed SCM (version 1.0)
$ LANG=C /somewhere/hg-stable/hg unbundle ../mercurial_repository.hg
/somewhere/hg-stable/mercurial/demandimport.py:46: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
mod = _origimport(head, globals, locals)
adding changesets
adding manifests
adding file changes
added 17 changesets with 24 changes to 13 files (+2 heads)
(run 'hg heads' to see heads, 'hg merge' to merge)
I confirmed that Mercurial 1.0 can access this repository.
$ cat .hg/requires
revlogv1
store
$ LANG=C /somewhere/hg-stable/hg tip
changeset: 16:4cddb4e45f52
tag: tip
parent: 6:7fab6ce80d87
user: jsmith <jsmith@foo.bar>
date: Sat Jan 01 00:00:00 2000 +0900
summary: Added tag tag-init-revision for changeset 0885933ad4f6
- Status changed from Resolved to Closed
- Resolution set to Fixed
Also available in: Atom
PDF