"bzr touch" in nested directories

Parth Malwankar parth.malwankar at gmail.com
Sun Feb 15 05:48:44 GMT 2009


bzr-touch doesn't seem to work in nested directories. I am
not sure if I am doing something wrong here or if this is
an enhancement request/bug.

[parth:bzr-test]% pwd
/home/parth/tmp/bzr-test
[parth:bzr-test]% bzr init
Created a standalone tree (format: pack-0.92)
[parth:bzr-test]% mkdir -p a/b/c/d/e
[parth:bzr-test]% bzr add a
adding a
adding a/b
adding a/b/c
adding a/b/c/d
adding a/b/c/d/e
add completed
[parth:bzr-test]% bzr ci -m "initial"
Committing to: /home/parth/tmp/bzr-test/
added a
added a/b
added a/b/c
added a/b/c/d
added a/b/c/d/e
Committed revision 1.
[parth:bzr-test]% cd a/b/c/d/e
[parth:e]% bzr touch x
bzr: ERROR: Not a branch: "/home/parth/tmp/bzr-test/a/b/c/d/e/".
[parth:e]% cd -
~/tmp/bzr-test
[parth:bzr-test]% bzr touch y
[parth:bzr-test]% bzr st
added:
  y
[parth:bzr-test]% cd -
~/tmp/bzr-test/a/b/c/d/e
[parth:e]% bzr touch a/b/c/d/e/x
bzr: ERROR: Not a branch: "/home/parth/tmp/bzr-test/a/b/c/d/e/".
[parth:e]% bzr touch ~/tmp/bzr-test/a/b/c/d/e/x
bzr: ERROR: Not a branch: "/home/parth/tmp/bzr-test/a/b/c/d/e/".
[parth:e]%

Its does work if I do "bzr touch" at root.
Giving absolute / root relative path also doesn't seem to work.

Parth



More information about the bazaar mailing list