xref: /minix3/external/bsd/file/dist/magic/magdir/revision (revision 84d9c625bfea59e274550651111ae9edfdc40fbd)
1ef01931fSBen Gras
2ef01931fSBen Gras#------------------------------------------------------------------------------
3*84d9c625SLionel Sambuc# $File: revision,v 1.9 2013/02/06 14:18:52 christos Exp $
4ef01931fSBen Gras# file(1) magic for revision control files
5ef01931fSBen Gras# From Hendrik Scholz <hendrik@scholz.net>
6835f6802SDirk Vogt0	string/t	/1\ :pserver:	cvs password text file
7ef01931fSBen Gras
8ef01931fSBen Gras# Conary changesets
9ef01931fSBen Gras# From: Jonathan Smith <smithj@rpath.com>
10ef01931fSBen Gras0	belong	0xea3f81bb	Conary changeset data
11ef01931fSBen Gras
12ef01931fSBen Gras# Type: Git bundles (git-bundle)
13ef01931fSBen Gras# From: Josh Triplett <josh@freedesktop.org>
14ef01931fSBen Gras0	string	#\ v2\ git\ bundle\n	Git bundle
15ef01931fSBen Gras
16835f6802SDirk Vogt# Type: Git pack
17835f6802SDirk Vogt# From: Adam Buchbinder <adam.buchbinder@gmail.com>
18835f6802SDirk Vogt# The actual magic is 'PACK', but that clashes with Doom/Quake packs. However,
19835f6802SDirk Vogt# those have a little-endian offset immediately following the magic 'PACK',
20835f6802SDirk Vogt# the first byte of which is never 0, while the first byte of the Git pack
21835f6802SDirk Vogt# version, since it's a tiny number stored in big-endian format, is always 0.
22835f6802SDirk Vogt0	string	PACK\0		Git pack
23835f6802SDirk Vogt>4	belong	>0		\b, version %d
24835f6802SDirk Vogt>>8	belong	>0		\b, %d objects
25835f6802SDirk Vogt
26835f6802SDirk Vogt# Type: Git pack index
27835f6802SDirk Vogt# From: Adam Buchbinder <adam.buchbinder@gmail.com>
28835f6802SDirk Vogt0	string	\377tOc		Git pack index
29835f6802SDirk Vogt>4	belong	=2		\b, version 2
30835f6802SDirk Vogt
31835f6802SDirk Vogt# Type: Git index file
32*84d9c625SLionel Sambuc# From: Frederic Briare <fbriere@fbriere.net>
33835f6802SDirk Vogt0	string	DIRC		Git index
34835f6802SDirk Vogt>4	belong	>0		\b, version %d
35835f6802SDirk Vogt>>8	belong	>0		\b, %d entries
36835f6802SDirk Vogt
37ef01931fSBen Gras# Type:	Mercurial bundles
38ef01931fSBen Gras# From:	Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr>
39ef01931fSBen Gras0	string	HG10		Mercurial bundle,
40ef01931fSBen Gras>4	string	UN		uncompressed
41ef01931fSBen Gras>4	string	BZ		bzip2 compressed
42835f6802SDirk Vogt
43835f6802SDirk Vogt# Type:	Subversion (SVN) dumps
44835f6802SDirk Vogt# From:	Uwe Zeisberger <zeisberg@informatik.uni-freiburg.de>
45835f6802SDirk Vogt0	string	SVN-fs-dump-format-version:	Subversion dumpfile
46835f6802SDirk Vogt>28	string	>\0				(version: %s)
47835f6802SDirk Vogt
48835f6802SDirk Vogt# Type:	Bazaar revision bundles and merge requests
49835f6802SDirk Vogt# URL:	http://www.bazaar-vcs.org/
50835f6802SDirk Vogt# From:	Jelmer Vernooij <jelmer@samba.org>
51835f6802SDirk Vogt0	string	#\ Bazaar\ revision\ bundle\ v Bazaar Bundle
52835f6802SDirk Vogt0	string	#\ Bazaar\ merge\ directive\ format Bazaar merge directive
53