316-magic-add-mercurial.dpatch 737 B

1234567891011121314151617181920
  1. #!/bin/sh /usr/share/dpatch/dpatch-run
  2. ## 315-magic-add-mercurial.dpatch by Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr>
  3. ##
  4. ## DP: New magic for Mercurial bundles (Closes: #451067).
  5. @DPATCH@
  6. diff -Naur file-4.21.orig/magic/Magdir/revision file-4.21/magic/Magdir/revision
  7. --- file-4.21.orig/magic/Magdir/revision 2007-12-23 17:25:09.000000000 +0000
  8. +++ file-4.21/magic/Magdir/revision 2007-12-23 17:24:59.000000000 +0000
  9. @@ -11,3 +11,9 @@
  10. # Type: Git bundles (git-bundle)
  11. # From: Josh Triplett <josh@freedesktop.org>
  12. 0 string #\ v2\ git\ bundle\n Git bundle
  13. +
  14. +# Type: Mercurial bundles
  15. +# From: Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr>
  16. +0 string HG10 Mercurial bundle,
  17. +>4 string UN uncompressed
  18. +>4 string BZ bzip2 compressed