bzr: Set nickname for tree in init.d/40vcs-init
authordAniel hAhler <daniel@thequod.de>
Fri, 4 Apr 2008 20:15:52 +0000 (22:15 +0200)
committerJoey Hess <joey@kodama.kitenet.net>
Sat, 5 Apr 2008 19:05:19 +0000 (15:05 -0400)
init.d/40vcs-init

index dec33a4707987ab647c9e525ea7f8f57209ca295..bf2b03ea36d5aa25bb13ed78a507ba978c045ba8 100755 (executable)
@@ -10,4 +10,5 @@ elif [ "$VCS" = hg ] && [ ! -e .hg ]; then
        echo  "description = $(hostname) /etc repository" >> .hg/hgrc
 elif [ "$VCS" = bzr ] && [ ! -e .bzr ]; then
        bzr init
+       bzr nick "$(hostname) /etc repository"
 fi