Magic database submission: Mercurial changeset bundle
Jesse Glick
Jesse.Glick at Sun.COM
Mon Jan 7 17:19:03 CST 2008
Please consider this addition to the next release of the file tool
(http://www.darwinsys.com/file/):
---%<--- magic/Magdir/mercurial
#------------------------------------------------------------------------------
# mercurial: file(1) magic for Mercurial changeset bundles
# http://www.selenic.com/mercurial/wiki/
#
# Jesse Glick (jesse.glick at sun.com)
#
0 string HG10 Mercurial changeset bundle
>4 string UN (uncompressed)
>4 string GZ (gzip compressed)
>4 string BZ (bzip2 compressed)
---%<---
Tested in /etc/magic on some examples including the attached file.
Cheers,
-Jesse
-------------- next part --------------
A non-text attachment was scrubbed...
Name: magictest.hg
Type: application/octet-stream
Size: 325 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20080107/f082b4ba/attachment.obj
More information about the Mercurial-devel
mailing list