Mercurial > public > mercurial-scm > hg
diff tests/test-debugcomplete.t @ 14611:adbf5e7df96d
import: add --bypass option
This feature is more a way to test patching without a working directory than
something people asked about. Adding a --rev option to specify the parent patch
revision would make it a little more useful.
What this change introduces is patch.repobackend class which let patches be
applied against repository revisions. The caller must supply a filestore object
to receive patched content, which can be turned into a memctx with
patch.makememctx() helper.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Tue, 14 Jun 2011 23:26:35 +0200 |
parents | 30506b894359 |
children | e4cfdff6d3f4 |
line wrap: on
line diff
--- a/tests/test-debugcomplete.t Tue Jun 14 23:24:40 2011 +0200 +++ b/tests/test-debugcomplete.t Tue Jun 14 23:26:35 2011 +0200 @@ -245,7 +245,7 @@ heads: rev, topo, active, closed, style, template help: extension, command identify: rev, num, id, branch, tags, bookmarks - import: strip, base, force, no-commit, exact, import-branch, message, logfile, date, user, similarity + import: strip, base, force, no-commit, bypass, exact, import-branch, message, logfile, date, user, similarity incoming: force, newest-first, bundle, rev, bookmarks, branch, patch, git, limit, no-merges, stat, style, template, ssh, remotecmd, insecure, subrepos locate: rev, print0, fullpath, include, exclude manifest: rev, all