[PATCH v2] mq: strip all leading slashes from url when importing
mpm at selenic.com
Fri May 20 17:18:08 CDT 2011
On Fri, 2011-05-20 at 17:04 -0500, Matt Mackall wrote:
> On Fri, 2011-05-20 at 21:26 +0300, Idan Kamara wrote:
> > # HG changeset patch
> > # User Idan Kamara <idankk86 at gmail.com>
> > # Date 1305915624 -10800
> > # Node ID 7a1d9092a16ea4fbcde7deafccc3252f370083fd
> > # Parent de78eed71adc97701457a6d45b273460b60d450c
> > mq: strip all leading slashes from url when importing
> > When trying to import a url that ends with a slash
> > os.path.basename() would return an empty string. So
> > when seeing a leading slash, remove it and infer the
> > patch name from the remaining url.
> Doesn't apply to default?
Never mind, I see it's based on the previous patch.
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel