On Sun, Aug 7, 2011 Steve Borho <st...@borho.org> wrote:
> On Wed, Aug 3, 2011 at 7:55 AM, Simon Heimberg <sim...@besonet.ch> wrote:
> > # HG changeset patch
> > # User Simon Heimberg <sim...@besonet.ch>
> > # Date 1312372764 -7200
> > # Node ID bc054acc8d07200c09076c168cfd86a2c57714a5
> > # Parent  71c2535192cc0d285462b8a3d8fce7cf2bb0cdda
> > qtlib: new method openlocalurl for opening a local url
> >
snip
> > +    if isinstance(path, str):
> > +        path = hglib.tounicode(path)
> > +    if os.name == 'nt' and path.startswidth('\\\\'):
> > +        # network share, because of qt bug 13359
> > +        # see http://bugreports.qt.nokia.com/browse/QTBUG-13359
> > +        qurl = QUrl().setUrl(QDir.toNativeSeparators(path))
> 
> Two problems here:
> 
>   startswidth is a typo.  And path could be a QString.  I don't think
> QString has a startswith() method.

Oops, sorry. Looks like I trained the word width so hard that I have 
forgotten how to write with.
And I agree a second time. The name in QString is startsWith (only a capital w).
(according to http://doc.qt.nokia.com/latest/qstring.html#startsWith)

The fixed patch is in the next mail.

> 
snip
> 
> -- 
> Steve Borho

Greetings,
Simon

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to