Skip to content
Snippets Groups Projects
  1. Oct 16, 2015
  2. May 19, 2010
    • Javi Merino's avatar
      Fixed a bashism with the use of $RANDOM in hgeditor. · 2b440bb8a66b
      Javi Merino authored
      The variable $RANDOM is not POSIX so a portable /bin/sh may not define
      it.  When creating a directory with a random name it's better to use
      mktemp, which, even though is not POSIX, exists in common Unixes
      including Linux, OpenBSD, FreeBSD and MacOS X.
      2b440bb8a66b
  3. May 11, 2010
    • Javi Merino's avatar
      Fixed a bashism with trap numbers in hgeditor. · 43337076ba92
      Javi Merino authored
      When using trap in a shell script, it's more portable to use signal
      names, instead of numbers. Signal names (INT, KILL,...) are defined in
      POSIX, whereas its corresponding numbers aren't.
      43337076ba92
  4. Jun 23, 2007
  5. Jun 21, 2007
  6. Jul 28, 2006
    • Will Maier's avatar
      Find the system's MD5 binary. · d9b8d28c0b94
      Will Maier authored
      Different binaries calculate MD5 checksums on different systems. Try
      a couple known programs and only calculate and verify the checksum
      if they exist. This should silence warnings on eg OpenBSD.
      d9b8d28c0b94
  7. Feb 09, 2006
  8. Dec 27, 2005
  9. Aug 22, 2005
  10. Aug 04, 2005
  11. Jul 30, 2005
  12. Jul 29, 2005
  13. Jul 23, 2005
  14. Jul 22, 2005
    • Thomas Arendsen Hein's avatar
      Fixes and cleanups to hgeditor: · 3e73bf876f17
      Thomas Arendsen Hein authored
      - "HG: merge resolve" isn't supported for a long time now.
      - detection of unchanged commit message if signing is turned off.
      - don't add manifest hash to commit message if not signing.
      3e73bf876f17
  15. Jul 12, 2005
    • Matt Mackall's avatar
      Turn off signing with hgeditor by default · 4ccf3de52989
      Matt Mackall authored
      manifest hash: f2732475351ee22d78e0dab629db03f1f215b21f
      0.6b
      4ccf3de52989
    • Matt Mackall's avatar
      Revert hgeditor change to manifest bits · 104d2aee3b44
      Matt Mackall authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      Revert hgeditor change to manifest bits
      
      I'd rather have a blank line at the top.
      
      This code primarily exists to show possible methods of signing
      changesets so I'm not very concerned about conciseness or performance.
      I should probably have all the signing commented out or disabled by
      default.
      
      manifest hash: 764da8d65bdaf9b45c7e3efd6cd2b4ee70979417
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFC01sdywK+sNU5EO8RAr2BAJ9Uq0XberFrYyehvmoKgE8p/j0XFQCdFPJr
      DPDMbKeBHwK/yMiileBFW8o=
      =DvnD
      -----END PGP SIGNATURE-----
      104d2aee3b44
    • Matt Mackall's avatar
      Revert hgeditor md5sum change · d6723636c172
      Matt Mackall authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      Revert hgeditor md5sum change
      
      My copy of md5sum doesn't do --status
      
      manifest hash 509a316ca72aca095c590fb120eb2ee8260814dd
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFC01pKywK+sNU5EO8RAkDWAJ0dWHz3Vp5oR2be9k3d1Km2Br53xgCgrBLF
      Ja2tOYCu/nP4sh3CsOsIO78=
      =zHkj
      -----END PGP SIGNATURE-----
      d6723636c172
  16. Jul 11, 2005
  17. Jul 01, 2005
    • mpm's avatar
      Merge with TAH · 4fc63e22b1fe
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      Merge with TAH
      
      manifest hash: 1742d7ba2093dc643b57e45167cb2d794212cbb9
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCxPCQywK+sNU5EO8RAkr0AJ9qut/31lCLQ/xY3FWaF3c21RhS7wCfW1eV
      3WexPDsJldMAr3V5vc9eowA=
      =pJYu
      -----END PGP SIGNATURE-----
      4fc63e22b1fe
    • Thomas Arendsen Hein's avatar
      Remove bashisms and use /bin/sh instead of /bin/bash. · 3d4d5f2aba9a
      Thomas Arendsen Hein authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      Remove bashisms and use /bin/sh instead of /bin/bash.
      
      manifest hash: 25560e04ff8ac33a6d8b82d2328b4e90578bee4c
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.1 (GNU/Linux)
      
      iD8DBQFCxOEjW7P1GVgWeRoRAm9XAJ9IjlbMerPYEhKQQu7Ufcm6630cDwCfdXJ3
      865XH6YVMuCYNjf3eibwQaM=
      =r3gh
      -----END PGP SIGNATURE-----
      3d4d5f2aba9a
  18. Jun 26, 2005
    • mpm's avatar
      Pull from TAH · 934279f3ca53
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      Pull from TAH
      
      manifest hash: 470ea90dd95189a019f4d96016a45db8a297b841
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCvzZzywK+sNU5EO8RAkZhAKCUJKX1vFtkFxV7qFwbuWQj62zcnQCfU687
      jxKpBVesIXSOpBO4NbW/RIM=
      =hSBe
      -----END PGP SIGNATURE-----
      934279f3ca53
    • Thomas Arendsen Hein's avatar
      Fixed diff generation in hgeditor if a list of files is given to hg commit. · ab53998b9dcd
      Thomas Arendsen Hein authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      Fixed diff generation in hgeditor if a list of files is given to hg commit.
      
      manifest hash: 3eadc3637963778a35000fa75f229eb6b44ffc3d
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.1 (GNU/Linux)
      
      iD8DBQFCvoRsW7P1GVgWeRoRArNpAJ4p5NQBkv1X+eHwWU7+aqoGkcqwlACgklk2
      e/vr9qiIPcOVrbYViapZD9E=
      =3fRb
      -----END PGP SIGNATURE-----
      ab53998b9dcd
  19. Jun 15, 2005
    • mpm's avatar
      Merge with TAH · b4e0e20646bb
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      Merge with TAH
      
      manifest hash: ec82cc2d7b7357fd7db4917e09d7d6865482de58
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCr+f1ywK+sNU5EO8RAuPtAJ0WilDBo3iG4S/dmIabhzYW987TtgCgkjkM
      8OmatsrjG01iJAhkKJj+XnQ=
      =mOLr
      -----END PGP SIGNATURE-----
      b4e0e20646bb
    • Thomas Arendsen Hein's avatar
      Merged with mercurial-identify (which includes upstream's current tip) · b2293093b89e
      Thomas Arendsen Hein authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      Merged with mercurial-identify (which includes upstream's current tip)
      
      manifest hash: b135d201757b84bbe7f14a446d2b001fd0cc1aa2
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.1 (GNU/Linux)
      
      iD8DBQFCr9mNW7P1GVgWeRoRAmTjAJ919wnvZXbKI27N0cDJCrumR3z4rQCcD6PO
      yZTmrT6p+gt6GBO+j5FVBn0=
      =HWn8
      -----END PGP SIGNATURE-----
      b2293093b89e
  20. Jun 14, 2005
    • Thomas Arendsen Hein's avatar
      Improved hgeditor: · 442eb02cf870
      Thomas Arendsen Hein authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      Improved hgeditor:
      hgeditor now uses $EDITOR and sets options according to emacs/vim/...
      Cleanup of temporary files.
      Use simple 'hg diff' instead of calling it for every file.
      Call gpg only if commit message was changed.
      
      manifest hash: 5c56bf580f9c2ef2a7d8b680bfb73fdd3b232044
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.1 (GNU/Linux)
      
      iD8DBQFCrowgW7P1GVgWeRoRApiOAJ0UI9/OY3yr4bv0no+KCcponSq+ZwCdFDUU
      No8t9ni6/72zmlcpB13E63A=
      =oSyb
      -----END PGP SIGNATURE-----
      442eb02cf870
  21. Jun 08, 2005
    • mpm's avatar
      Mark the usual things executable · a69c3b2957d1
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      Mark the usual things executable
      
      manifest hash: e55dde46fd1a97ce338c1ac71278b67ca9d96bf7
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCpz5RywK+sNU5EO8RAnypAJwLpjrQ09nMSJUELtCondHI0fvuVACfQu2J
      mFi9D3L9ULGO457NWB4h3kY=
      =3bcD
      -----END PGP SIGNATURE-----
      a69c3b2957d1
  22. May 28, 2005
    • mpm's avatar
      Add $HGEDITOR hook and example script · 9a2075c0b9b8
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      Add $HGEDITOR hook and example script
      
      This hook makes signing commits easier.
      
      manifest hash: ba8723e4b52323528dfa681a58658a5b4b2c02e4
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCmONFywK+sNU5EO8RAj87AKCEa5r9EepdYPiYRGo/jAjjwCIcVACfeBPe
      QDInXr7karo6/P8d2bM/tVU=
      =rxIQ
      -----END PGP SIGNATURE-----
      9a2075c0b9b8
Loading