john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

mercurial commit bat

echo off REM the last 4, start at 4 but only take 2 SET thedate=%date% SET theyear=%thedate:~-4% SET themonth=%thedate:~4,2% SET theday=%thedate:~7,2%

echo %theyear%-%themonth%-%theday% c:\storage\installs\MercurialCmdPortable\App\Mercurial\hg status c:\storage\installs\MercurialCmdPortable\App\Mercurial\hg add c:\storage\installs\MercurialCmdPortable\App\Mercurial\hg commit -m "%theyear%-%themonth%-%theday% %time%" pause


  • « BAT strings date
  • Vmware server 2 tips »

Published

Dec 15, 2010

Category

c-programming-guides

~33 words

Tags

  • bat 22
  • c-programming-guides 25
  • commit 4
  • mercurial 4