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