Mercurial > dotfiles
comparison install.cmd @ 124:20c49d51f7e3
Added `.gitconfig`.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 05 Mar 2013 12:48:38 -0800 |
parents | b96ff0dd0137 |
children | 2e1f9a40a36a |
comparison
equal
deleted
inserted
replaced
123:7832fcb79e03 | 124:20c49d51f7e3 |
---|---|
25 echo [ui] >> "%userprofile%\mercurial.ini" | 25 echo [ui] >> "%userprofile%\mercurial.ini" |
26 echo ignore = %CWD:\=/%/hgrc/hgignore >> "%userprofile%\mercurial.ini" | 26 echo ignore = %CWD:\=/%/hgrc/hgignore >> "%userprofile%\mercurial.ini" |
27 echo [extensions] >> "%userprofile%\mercurial.ini" | 27 echo [extensions] >> "%userprofile%\mercurial.ini" |
28 echo hggit = %CWD:\=/%lib/hg/hg-git/hggit/ >> "%userprofile%\mercurial.ini" | 28 echo hggit = %CWD:\=/%lib/hg/hg-git/hggit/ >> "%userprofile%\mercurial.ini" |
29 echo onsub = %CWD:\=/%lib/hg/onsub/onsub.py >> "%userprofile%\mercurial.ini" | 29 echo onsub = %CWD:\=/%lib/hg/onsub/onsub.py >> "%userprofile%\mercurial.ini" |
30 | |
31 :: Git Files | |
32 if exist "%userprofile%\.gitconfig" ( | |
33 set /P confirm=Will delete existing "%userprofile%\.gitconfig". OK with that? Press CTRL-C to abort. | |
34 del /Q "%userprofile%\.gitconfig" | |
35 ) | |
36 copy "%CWD%git\gitconfig" "%userprofile%\.gitconfig" | |
37 |