D6786: automation: implement "publish-windows-artifacts" command

2019-09-05 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The new command and associated functionality can be used to automate the publishing of Windows release artifacts. It supports uploading wheels to PyPI (using tw

D6785: automation: upgrade to latest packages in requirements.txt

2019-09-05 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Let's stay modern. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D6785 AFFECTED FILES contrib/automation/requirements.txt CHANGE

D6782: py3: use pycompat.sysargv[0] for instead of fsencode(sys.argv[0])

2019-09-05 Thread martinvonz (Martin von Zweigbergk)
martinvonz added a comment. In D6782#99619 , @yuja wrote: >> @@ -245,8 +245,11 @@ >> >> pycompat.fsencode(getattr(mainmod, '__file__', ''))) == 'hg'): >> _sethgexecutable(pycompat.fsencode(mainmod.__file__)) >> else: >>

D6782: py3: use pycompat.sysargv[0] for instead of fsencode(sys.argv[0])

2019-09-05 Thread yuja (Yuya Nishihara)
yuja added a comment. > @@ -245,8 +245,11 @@ > > pycompat.fsencode(getattr(mainmod, '__file__', ''))) == 'hg'): > _sethgexecutable(pycompat.fsencode(mainmod.__file__)) > else: > > - exe = findexe('hg') or os.path.basename(sys.argv[0]) > - _sethgexecutable(pycompat.fs

Re: D6782: py3: use pycompat.sysargv[0] for instead of fsencode(sys.argv[0])

2019-09-05 Thread Yuya Nishihara
> @@ -245,8 +245,11 @@ > pycompat.fsencode(getattr(mainmod, '__file__', ''))) == 'hg'): > _sethgexecutable(pycompat.fsencode(mainmod.__file__)) > else: > -exe = findexe('hg') or os.path.basename(sys.argv[0]) > -_sethgexecutable(pycompat.fse

mercurial@42844: 3 new changesets (2 on stable)

2019-09-05 Thread Mercurial Commits
3 new changesets (2 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/2c74337e6483 changeset: 42842:2c74337e6483 bookmark:@ user:Boris Feld date:Wed Aug 28 16:01:16 2019 +0200 summary: remotefilelog: reduce probability of race-condition in remotefilelog

Re: Improving file name encoding support on Windows

2019-09-05 Thread Yuya Nishihara
On Thu, 5 Sep 2019 14:45:12 -0400, Augie Fackler wrote: > > For my specific use case, always using UTF-8 would be enough. My > > suggestion would be to add a global setting. At first, the default would > > be 'mbcs' (which means: use the active code page) with the 'replace' error > > handler.

D6732: localrepo: push manifestlog and changelog construction code into store

2019-09-05 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 16386. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6732?vs=16226&id=16386 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6732/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6732 AFFECTED FILES

D6734: git: RFC of a new extension to _directly_ operate on git repositories

2019-09-05 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 16387. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6734?vs=16293&id=16387 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6734/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6734 AFFECTED FILES

D6732: localrepo: push manifestlog and changelog construction code into store

2019-09-05 Thread durin42 (Augie Fackler)
durin42 added a comment. Ping on this - can we get this landed to unblock my experimentation? REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6732/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6732 To: durin42, #hg-reviewers, indygreg Cc: indy

D6764: match: simplify the regexps created for glob patterns

2019-09-05 Thread valentin.gatienbaron (Valentin Gatien-Baron)
Closed by commit rHGcf165e064f1d: match: simplify the regexps created for glob patterns (authored by valentin.gatienbaron). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITORY rHG

D6765: rustfilepatterns: shorter code for concatenating slices

2019-09-05 Thread valentin.gatienbaron (Valentin Gatien-Baron)
Closed by commit rHG406bd21d363b: rustfilepatterns: shorter code for concatenating slices (authored by valentin.gatienbaron). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITORY r

mercurial-devel@mercurial-scm.org

2019-09-05 Thread valentin.gatienbaron (Valentin Gatien-Baron)
Closed by commit rHG62eabdf91f85: rustfilepatterns: refactor the pattern of removing a prefix from a &[u8] (authored by valentin.gatienbaron). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review"

D6750: context: filter out invalid copies from workingctx.p[12]copies()

2019-09-05 Thread martinvonz (Martin von Zweigbergk)
Closed by commit rHG2b869a515ba6: context: filter out invalid copies from workingctx.p[12]copies() (authored by martinvonz). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITORY rH

D6752: copies: remove existing copy info from the changeset on amend (BC)

2019-09-05 Thread martinvonz (Martin von Zweigbergk)
Closed by commit rHG57ea0a81a65c: copies: remove existing copy info from the changeset on amend (BC) (authored by martinvonz). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITORY

D6763: tests: show the pattern generated for a relative glob

2019-09-05 Thread valentin.gatienbaron (Valentin Gatien-Baron)
Closed by commit rHG96ddf83fc267: tests: show the pattern generated for a relative glob (authored by valentin.gatienbaron). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITORY rHG

D6751: tests: show invalid copies when turning off copies-in-changeset

2019-09-05 Thread martinvonz (Martin von Zweigbergk)
Closed by commit rHG6f0273558c4b: tests: show invalid copies when turning off copies-in-changeset (authored by martinvonz). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITORY rHG

D6749: tests: demonstrate crash when committing subset of copies to changeset

2019-09-05 Thread martinvonz (Martin von Zweigbergk)
Closed by commit rHG170b070ec6a5: tests: demonstrate crash when committing subset of copies to changeset (authored by martinvonz). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITOR

D6711: branchheads: store wdir-dependent caches in wcache (issue6181)

2019-09-05 Thread spectral (Kyle Lippincott)
spectral added a comment. spectral planned changes to this revision. I'm not sure what the current state of this is, but I don't want it lingering in the review queue while I'm not actively working on it. REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D

D6768: split: handle partial commit of renames when doing split or record (issue5723)

2019-09-05 Thread spectral (Kyle Lippincott)
Closed by commit rHG3cf091843b4f: split: handle partial commit of renames when doing split or record (issue5723) (authored by spectral). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REP

D6767: split: handle partial commit of copies when doing split or record

2019-09-05 Thread spectral (Kyle Lippincott)
Closed by commit rHG1fd530b1e1cf: split: handle partial commit of copies when doing split or record (authored by spectral). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITORY rHG

D6757: bdiff-torture: fix pyflakes warning reporting undefined name 'inst'

2019-09-05 Thread pulkit (Pulkit Goyal)
Closed by commit rHG3316e59b0105: bdiff-torture: fix pyflakes warning reporting undefined name 'inst' (authored by pulkit). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6757?vs=162

D6782: py3: use pycompat.sysargv[0] for instead of fsencode(sys.argv[0])

2019-09-05 Thread martinvonz (Martin von Zweigbergk)
Closed by commit rHGdb51a4ac85ac: py3: use pycompat.sysargv[0] for instead of fsencode(sys.argv[0]) (authored by martinvonz). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITORY r

D6784: httppeer: use context manager when reading temporary bundle to send

2019-09-05 Thread martinvonz (Martin von Zweigbergk)
Closed by commit rHG37debb6771f5: httppeer: use context manager when reading temporary bundle to send (authored by martinvonz). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITORY

D6783: httppeer: use context manager when writing temporary bundle to send

2019-09-05 Thread martinvonz (Martin von Zweigbergk)
Closed by commit rHG58f73e9ccfff: httppeer: use context manager when writing temporary bundle to send (authored by martinvonz). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITORY

Re: Improving file name encoding support on Windows

2019-09-05 Thread Augie Fackler
(+yuya, encoding wizard) > On Aug 6, 2019, at 22:14, Manuel Jacob wrote: > > Recently I sent a mail to the Mercurial (user mailing list) to ask how to > have filename encoding interoperability between Linux and Windows. It seems > like this is currently not easily achievable. > > I’ve seen t

Re: [PATCH 1 of 4 V2] flagutil: introduce a flagprocessorsmixin class

2019-09-05 Thread Augie Fackler
On Thu, Sep 05, 2019 at 10:24:25AM +0200, Pierre-Yves David wrote: > > > On 9/5/19 1:43 AM, Yuya Nishihara wrote: > > On Mon, 2 Sep 2019 15:03:00 +0200, Pierre-Yves David wrote: > > > On 8/31/19 5:02 AM, Yuya Nishihara wrote: > > > > On Sun, 11 Aug 2019 13:10:47 +0200, Pierre-Yves David wrote: > >

Re: [PATCH 1 of 4 V2] flagutil: introduce a flagprocessorsmixin class

2019-09-05 Thread Augie Fackler
On Thu, Sep 05, 2019 at 08:43:16AM +0900, Yuya Nishihara wrote: > On Mon, 2 Sep 2019 15:03:00 +0200, Pierre-Yves David wrote: > > On 8/31/19 5:02 AM, Yuya Nishihara wrote: > > > On Sun, 11 Aug 2019 13:10:47 +0200, Pierre-Yves David wrote: > > >> # HG changeset patch > > >> # User Pierre-Yves David

Re: [PATCH 4 of 4] rust-cpython: mark unsafe functions as such

2019-09-05 Thread Augie Fackler
On Sun, Sep 01, 2019 at 08:46:07PM +0200, Raphaël Gomès wrote: > Thanks a lot for this series, it looks very good to me. > > There was indeed a lot of room for improvement. Queued per this review, thanks. ___ Mercurial-devel mailing list Mercurial-devel@

D6773: rust-hgpath: add HgPath and HgPathBuf structs to encapsulate handling of paths

2019-09-05 Thread Raphaël Gomès
Alphare updated this revision to Diff 16371. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6773?vs=16366&id=16371 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6773/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6773 AFFECTED FILES

Re: [PATCH 1 of 4 V2] flagutil: introduce a flagprocessorsmixin class

2019-09-05 Thread Pierre-Yves David
On 9/5/19 1:43 AM, Yuya Nishihara wrote: On Mon, 2 Sep 2019 15:03:00 +0200, Pierre-Yves David wrote: On 8/31/19 5:02 AM, Yuya Nishihara wrote: On Sun, 11 Aug 2019 13:10:47 +0200, Pierre-Yves David wrote: # HG changeset patch # User Pierre-Yves David # Date 1565219568 -7200 # Thu Aug 08