[ANN] First release of scmproj

Jari Aalto jari.aalto at cante.net
Sat Sep 5 19:19:35 BST 2009


Alexander Belchenko <bialix at ukr.net> writes:

A small suggestion: http://bialix.com/scmproj/docs/howto.html

    bzr pcmd --no-cd "init-repo {LOCAL_REPO} --no-trees --format={FORMAT}"
    bzr pcmd --no-cd "init {LOCAL_BRANCH} --format={FORMAT}"
    bzr pcmd --no-cd "pull -d {LOCAL_BRANCH} {BRANCH_URL} -r {REVISION}"

Perhaps in the docs, the braces could be left out. I think people
understand substitutions when they see ALL-CAPS:

    bzr pcmd --no-cd "init-repo LOCAL_REPO --no-trees --format=FORMAT"
    bzr pcmd --no-cd "init LOCAL_BRANCH --format=FORMAT"
    bzr pcmd --no-cd "pull -d LOCAL_BRANCH BRANCH_URL -r REVISION"

It's a little easier to read. I usually see braces used only in command synx
definitions like:

    command {one, two, three | five [--option]}

Jari




More information about the bazaar mailing list