monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] default branch for "monotone sync"


From: Evan Martin
Subject: Re: [Monotone-devel] default branch for "monotone sync"
Date: Sun, 25 Feb 2007 13:01:45 -0800

On 2/25/07, Thomas Moschny <address@hidden> wrote:
On Sunday 25 February 2007, Evan Martin wrote:
> Is this a bug or am I misunderstanding something?  (At least in web
> browsers, file URIs start with file:// and then have a path, so it's
> common to have three slashes at the beginning.)

The scheme used by monotone is file:/path/to/db.mtn, see
http://monotone.ca/docs/Other-Transports.html#Other-Transports .

This in fact seems to be in accordance with RFC 2396.

This is interesting!  Does it mean that browsers have done it wrong?

(Relevant snippet of RFC:

     absoluteURI   = scheme ":" ( hier_part | opaque_part )

  URI that are hierarchical in nature use the slash "/" character for
  separating hierarchical components.  For some file systems, a "/"
  character (used to denote the hierarchical structure of a URI) is the
  delimiter used to construct a file name hierarchy, and thus the URI
  path will look similar to a file pathname.  This does NOT imply that
  the resource is a file or that the URI maps to an actual filesystem
  pathname.

     hier_part     = ( net_path | abs_path ) [ "?" query ]

     net_path      = "//" authority [ abs_path ]

     abs_path      = "/"  path_segments
)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]