D5174: py3: make sure we pass sysstr in sqlite3.connect()

2018-10-23 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG3b782669561d: py3: make sure we pass sysstr in sqlite3.connect() (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5174: py3: make sure we pass sysstr in sqlite3.connect()

2018-10-21 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 12293. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5174?vs=12286=12293 REVISION DETAIL https://phab.mercurial-scm.org/D5174 AFFECTED FILES hgext/sqlitestore.py CHANGE DETAILS diff --git a/hgext/sqlitestore.py

D5174: py3: make sure we pass sysstr in sqlite3.connect()

2018-10-20 Thread yuja (Yuya Nishihara)
yuja added a comment. > def makedb(path): > """Construct a database handle for a database at path.""" > > > - db = sqlite3.connect(path) +db = sqlite3.connect(pycompat.sysstr(path)) Perhaps, `encoding.strfromlocal()`. REPOSITORY rHG Mercurial REVISION DETAIL

Re: D5174: py3: make sure we pass sysstr in sqlite3.connect()

2018-10-20 Thread Yuya Nishihara
> def makedb(path): > """Construct a database handle for a database at path.""" > > -db = sqlite3.connect(path) > +db = sqlite3.connect(pycompat.sysstr(path)) Perhaps, `encoding.strfromlocal()`. ___ Mercurial-devel mailing list

D5174: py3: make sure we pass sysstr in sqlite3.connect()

2018-10-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5174 AFFECTED FILES hgext/sqlitestore.py CHANGE DETAILS diff --git a/hgext/sqlitestore.py