Skip to content
Snippets Groups Projects
user avatar
Matt Harbison authored
This selects changesets added because of repo conversions.  For example

    hg log -r "converted()"      # all csets created by a convertion
    hg log -r "converted(rev)"   # the cset converted from rev in the src repo

The converted(rev) form is analogous to remote(id), where the remote repo is
the source of the conversion.  This can be useful for cross referencing an old
repository into the current one.

The source revision may be the short changeset hash or the full hash from the
source repository.  The local identifier isn't useful.  An interesting
ramification of this is if a short revision is specified, it may cause more
than one changeset to be selected.  (e.g. converted(6) matches changesets with
a convert_revision field of 6e..e and 67..0)

The convert.hg.saverev option must have been specified when converting the hg
source repository for this to work.  The other sources automatically embed the
converted marker.
0eb52262
History
Name Last commit Last update
..
blacklists
bundles
gpg
svn
README
autodiff.py
binfile.bin
bzr-definitions
cgienv
dummyssh
filtercr.py
filterpyflakes.py
get-with-headers.py
heredoctest.py
hghave
hghave.py
hgterm.ti
killdaemons.py
md5sum.py
notcapable
printenv.py
readlink.py
revlog-formatv0.py
run-tests.py
sitecustomize.py
svn-safe-append.py
svnxml.py
test-1102.t
test-1993.t
test-586.t
test-abort-checkin.t
test-acl.t
test-add.t
test-addremove-similar.t
test-addremove.t
test-alias.t
test-annotate.t
test-archive-symlinks.t
test-archive.t
test-atomictempfile.py
test-atomictempfile.py.out
test-audit-path.t
test-backout.t
test-backwards-remove.t
test-bad-extension.t
test-bad-pull.t
test-basic.t
test-batching.py
test-batching.py.out
test-bdiff.py
test-bdiff.py.out
test-bheads.t
test-bisect.t
test-bisect2.t
test-bisect3.t
test-bookmarks-current.t
test-bookmarks-merge.t
test-bookmarks-pushpull.t
test-bookmarks-rebase.t
test-bookmarks-strip.t
test-bookmarks.t
test-branch-option.t
test-branch-tag-confict.t
test-branches.t
test-bundle-r.t
test-bundle-type.t
test-bundle-vs-outgoing.t
test-bundle.t
test-casecollision-merge.t
test-casecollision.t
test-casefolding.t
test-cat.t
test-changelog-exec.t
test-check-code-hg.t
test-check-code.t
test-check-pyflakes.t
test-children.t
test-churn.t
test-clone-cgi.t
test-clone-pull-corruption.t
test-clone-r.t
test-clone-update-order.t
test-clone.t
test-command-template.t
test-commandserver.py
test-commandserver.py.out
test-commit-amend.t
test-commit-multiple.t
test-commit-unresolved.t
test-commit.t
test-committer.t
test-config-case.t
test-conflict.t
test-confused-revert.t
test-context.py
test-context.py.out
test-contrib.t
test-convert-authormap.t
test-convert-baz.t
test-convert-bzr-114.t
To run the tests, do:

cd tests/
python run-tests.py

See http://mercurial.selenic.com/wiki/WritingTests for
more information on writing tests.