Comment 8 for bug 58953

Revision history for this message
Jari Aalto (jari-aalto) wrote :

Current situation:

a)
    $ bzr init .
    $ bzr info

    Location:
      branch root: file:///tmp/1/

    Format:
           control: Meta directory format 1
      working tree: Working tree format 3
            branch: Branch format 5
        repository: Knit repository format 1
b)
    $ bzr init-repo .
    $ bzr info

    Location:
      shared repository: file:///tmp/3/

    Format:
           control: Meta directory format 1
        repository: Knit repository format 1

c)
    $ bzr init-repo --trees .
    $ bzr info

    Location:
      shared repository: file:///tmp/2/

    Format:
           control: Meta directory format 1
        repository: Knit repository format 1

(a) is regular full blown version because it reads
"branch", but differentiating (b) from (c) can't be read from the
listing. Perhaps that could be made read:

a)
    Location:
+ type: standalone
      branch root: file:///tmp/1/

b)
    Location:
+ type: shared
      shared repository: file:///tmp/2

c)
    Location:
+ type: shared trees
      shared repository: file:///tmp/3

Btw, please drop the trailing slash from the path names. The backend
tools that read the information can then just

    PATH + FILENAME

instead of

    (rip off the last slash from PATH) + FILENAME

Jari