convert using filemap without extra file?

Martin Geisler mg at daimi.au.dk
Thu Feb 26 17:04:02 CST 2009


Arne Babenhauserheide <arne_bab at web.de> writes:

> Hi, 
>
> Is it possible to use an on the fly filemap directly on the
> commandline (without creating a real file)?
>
> For example via 
>
> hg convert --filemap "syntax: glob
> include *
> exclude *.del" source target

If you use zsh you can let the shell create a temporary file:

  hg convert --filemap =(echo "syntax glob
include *
exclude *.del")

Fun feature... :-)

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20090227/10c5d74a/attachment.pgp 


More information about the Mercurial mailing list