Paths and URLs in Branch.base ?

Robert Collins robertc at robertcollins.net
Thu Nov 24 23:18:46 GMT 2005


On Thu, 2005-11-24 at 10:39 -0500, Aaron Bentley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Alexander Belchenko wrote:
> >     * Patch #25. [Win32-specific] Default value for nick use '/' on
> > Windows. Changed to os.sep. Probably it's arguable solution, but at this
> > stage of development most of the code works well with os.sep internally
> > rather than '/'-only. (modified: bzrlib/branch.py)
> 
> Yes, it's definitely arguable.  In fact, it's wrong for http branches
> and sftp branches right now.  This is why I didn't use os.path.basename.
> 
> I thought we were going to use file URLs instead of paths anywhere where
> we were supporting URLs.  What's the plan here?

AIUI the plan is that:
 * The Transport layer takes URLs only.
 * Branches live at a URL
 * Trees take file paths (absolute or relative) only.

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051125/df1ceb3c/attachment.pgp 


More information about the bazaar mailing list