xref: /freebsd/contrib/file/magic/Magdir/revision (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
1
2#------------------------------------------------------------------------------
3# $File: revision,v 1.9 2013/02/06 14:18:52 christos Exp $
4# file(1) magic for revision control files
5# From Hendrik Scholz <hendrik@scholz.net>
60	string/t	/1\ :pserver:	cvs password text file
7
8# Conary changesets
9# From: Jonathan Smith <smithj@rpath.com>
100	belong	0xea3f81bb	Conary changeset data
11
12# Type: Git bundles (git-bundle)
13# From: Josh Triplett <josh@freedesktop.org>
140	string	#\ v2\ git\ bundle\n	Git bundle
15
16# Type: Git pack
17# From: Adam Buchbinder <adam.buchbinder@gmail.com>
18# The actual magic is 'PACK', but that clashes with Doom/Quake packs. However,
19# those have a little-endian offset immediately following the magic 'PACK',
20# the first byte of which is never 0, while the first byte of the Git pack
21# version, since it's a tiny number stored in big-endian format, is always 0.
220	string	PACK\0		Git pack
23>4	belong	>0		\b, version %d
24>>8	belong	>0		\b, %d objects
25
26# Type: Git pack index
27# From: Adam Buchbinder <adam.buchbinder@gmail.com>
280	string	\377tOc		Git pack index
29>4	belong	=2		\b, version 2
30
31# Type: Git index file
32# From: Frederic Briare <fbriere@fbriere.net>
330	string	DIRC		Git index
34>4	belong	>0		\b, version %d
35>>8	belong	>0		\b, %d entries
36
37# Type:	Mercurial bundles
38# From:	Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr>
390	string	HG10		Mercurial bundle,
40>4	string	UN		uncompressed
41>4	string	BZ		bzip2 compressed
42
43# Type:	Subversion (SVN) dumps
44# From:	Uwe Zeisberger <zeisberg@informatik.uni-freiburg.de>
450	string	SVN-fs-dump-format-version:	Subversion dumpfile
46>28	string	>\0				(version: %s)
47
48# Type:	Bazaar revision bundles and merge requests
49# URL:	http://www.bazaar-vcs.org/
50# From:	Jelmer Vernooij <jelmer@samba.org>
510	string	#\ Bazaar\ revision\ bundle\ v Bazaar Bundle
520	string	#\ Bazaar\ merge\ directive\ format Bazaar merge directive
53