Import patches for the specified revision

Martin Geisler mg at lazybytes.net
Thu Dec 15 14:30:57 UTC 2011


nemo <nemo1412 at gmail.com> writes:

> Sorry I didn't say clearly.
>
> I need  a -r flag for import command like this:
>
>     hg import -r REV PATCH
>
> So, I can import my PATCH to the specified revision REV, rather than
> the recent version.
>
> BTW. : And I don't want to update my working directory to revision REV :)

I see. Try using --bypass with --exact, that should do what you want: it
applies the patch to the changeset mentioned in the patch header and
does so without touching the working copy.

-- 
Martin Geisler

Mercurial links: http://mercurial.ch/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20111215/b3d42657/attachment.asc>


More information about the Mercurial mailing list