/contrib/hgtk.cmd

https://bitbucket.org/tortoisehg/hgtk/ · Batch · 18 lines · 8 code · 3 blank · 7 comment · 1 complexity · 6d62a6039912eaba0d9035e06253017f MD5 · raw file

  1. ::
  2. :: Win32 batch file for running the TortoiseHg hgtk script.
  3. :: Copy this file into the install directory and rename hgtk.exe
  4. :: to e.g. hgtk-hidden.exe
  5. ::
  6. @echo off
  7. setlocal
  8. :: Uncomment the line below and modify accoringly
  9. ::set hgtkpath="C:\path\to\hgtk"
  10. if not defined hgtkpath goto :notfound
  11. python %hgtkpath% %*
  12. goto end
  13. :notfound
  14. echo hgtk: Please configure hgtkpath in %~f0
  15. :end