TRAC - change SVN repository

Posted by root Tue, 08 Jul 2008 00:26:00 GMT

Go to your TRAC project dir and issue the following commands:
1. cd to_your_trac_project_dir
2. ruby -i -pe ’$_.sub! /(repository_dir\s=\s).+/, “repository_dir = NEW_repository_PATH”’ trac.ini
3. trac-admin . resync

Posted in  | Tags  | no comments

mkdir && cd to it

Posted by root Mon, 16 Jun 2008 12:49:00 GMT

# negative - spawning a new shell
mkdir -p $1 && cd $1 && $SHELL

Posted in  | Tags  | no comments