Repository Reference Rollup (was Re: Repository referencing in command lines)

Erik Bågfors zindar at gmail.com
Tue Feb 14 09:26:26 GMT 2006


2006/2/14, Vincent LADEUIL <v.ladeuil at alplog.fr>:
> >>>>> "Denys" == Denys Duchier <duchier at ps.uni-sb.de> writes:
>
>     Denys> Vincent LADEUIL <v.ladeuil at alplog.fr> writes: I don't
>     Denys> get where repo:<repo_url>:<branch_name> is any
>     Denys> different from <repo_url>/<branch_name>
>
>     >>  8-/ Because both <repo_url> and <branch_name> can contain
>     >> '/' ?  Because ':' can disambiguate in that case (and make
>     >> things clearer for both user and the programmer ) ?
>
>     Denys> To disambiguate, you'd need an ambiguity.
>
> 1) Repo: foo/bar, Branch: baz/qux
>
> 2) Repo: foo, Branch: bar/baz/qux
>
> leads to:
>
> foo/bar/baz/qux is either 1 or 2

I think this is perfect.  As an end user I shouldn't NEED to know if
it's stored in a repo or not. I should just get a pointer to where to
get the branch, and that should be it.

If I am a more advanced user (or administrator) I might need to know,
and in that case I think a command like "bzr info foo/bar/baz/qux"
should give repo location, branch location, revision numbers, rev_ids,
etc.

> foo/bar:baz/qux is 1
> foo:bar/baz/qux is 2

This is terrible IMHO.

/Erik




More information about the bazaar mailing list