[PATCH V7] revset: support ranges in #generations relation

2019-01-23 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1547564229 -28800 # Tue Jan 15 22:57:09 2019 +0800 # Node ID 91c4c66050f0b6acba6fe90e1d759165ddffd0d0 # Parent 8aca89a694d4bd7d25877b3652fb83e187ea1802 revset: support ranges in #generations relation diff --git a/mercurial/dagop.py b/mercur

[PATCH 3 of 3 STABLE] rust-cpython: raising error.WdirUnsupported

2019-01-23 Thread Georges Racinet
# HG changeset patch # User Georges Racinet # Date 1548247776 18000 # Wed Jan 23 07:49:36 2019 -0500 # Branch stable # Node ID 47d5458a4c32e20de4af1237cfeb157153586cbc # Parent a35cfd592a90ae325b452c56fe8bff86cac097dd # EXP-Topic rust-wdirunsupported rust-cpython: raising error.WdirUnsupport

[PATCH 2 of 3 STABLE] rust: error for WdirUnsupported with cpython conversion as exception

2019-01-23 Thread Georges Racinet
# HG changeset patch # User Georges Racinet # Date 1548247624 18000 # Wed Jan 23 07:47:04 2019 -0500 # Branch stable # Node ID a35cfd592a90ae325b452c56fe8bff86cac097dd # Parent 56b74abf5ee6df48ec2debf1f004725cfcc93854 # EXP-Topic rust-wdirunsupported rust: error for WdirUnsupported with cpyt

[PATCH 1 of 3 STABLE] rust: working directory revision number constant

2019-01-23 Thread Georges Racinet
# HG changeset patch # User Georges Racinet # Date 1548247167 18000 # Wed Jan 23 07:39:27 2019 -0500 # Branch stable # Node ID 56b74abf5ee6df48ec2debf1f004725cfcc93854 # Parent 13c23396c7fe1633a2336b29e3a32b9b76274f28 # EXP-Topic rust-wdirunsupported rust: working directory revision number c

mercurial@41303: new changeset (1 on stable)

2019-01-23 Thread Mercurial Commits
New changeset (1 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/c953c2a94d68 changeset: 41303:c953c2a94d68 branch: stable tag: tip parent: 41301:13c23396c7fe user:Yuya Nishihara date:Mon Jan 21 22:14:29 2019 +0900 summary: revlog: fix re

mercurial@41302: new changeset

2019-01-23 Thread Mercurial Commits
New changeset in mercurial: https://www.mercurial-scm.org/repo/hg/rev/a322dbee4eda changeset: 41302:a322dbee4eda bookmark:@ tag: tip parent: 41289:593f6359681d parent: 41301:13c23396c7fe user:Martin von Zweigbergk date:Tue Jan 22 10:55:45 2019 -0800 summary

D5669: tests: support URL quoting on Python 3

2019-01-23 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd5c58d679ed9: tests: support URL quoting on Python 3 (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5669?vs=13381&id=13387

D5667: tests: handle string escaping/encoding on Python 3

2019-01-23 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG13ccb03f2145: tests: handle string escaping/encoding on Python 3 (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5667?vs=133

D5668: tests: write directly to stdout to avoid b'' prefixes

2019-01-23 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG84707d9e77a0: tests: write directly to stdout to avoid b'' prefixes (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5668?vs=

D5664: convert: use raw strings for XML strings

2019-01-23 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1281b2265ff5: convert: use raw strings for XML strings (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5664?vs=13376&id=1338

D5665: tests: normalize XML values to bytes

2019-01-23 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG7c54357be2ae: tests: normalize XML values to bytes (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5665?vs=13377&id=13383 R

D5666: hgweb: ensure template mapping keys are bytes

2019-01-23 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGeff0a7d3229c: hgweb: ensure template mapping keys are bytes (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5666?vs=13378&id

D5665: tests: normalize XML values to bytes

2019-01-23 Thread durin42 (Augie Fackler)
durin42 added a comment. Yes, svn is strongly UTF8. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5665 To: indygreg, #hg-reviewers Cc: durin42, mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercuria

Re: Using mercurial on windows.

2019-01-23 Thread Matt Harbison
On Wed, 23 Jan 2019 13:23:44 -0500, Augie Fackler wrote: On Jan 9, 2019, at 21:22, Matt Harbison wrote: I meant to find a page to describe how to setup MSYS for running tests, but everything looked pretty out of date, and I pretty much did the setup through the mingw-get GUI. I've got

D5669: tests: support URL quoting on Python 3

2019-01-23 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We could use mercurial.urllibcompat, but meh. This makes things easier to read. The test still fails on Python 3 for some reason. But at least we

D5668: tests: write directly to stdout to avoid b'' prefixes

2019-01-23 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This enables the test to pass on Python 3. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5668 AFFECTED FILES tests/test-mq-eol.t

D5667: tests: handle string escaping/encoding on Python 3

2019-01-23 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This code was failing on Python 3 for a few reasons: 1. sys.argv is str and str doesn't have a .decode() 2. the "string_escape" encoding was renamed to "unic

D5666: hgweb: ensure template mapping keys are bytes

2019-01-23 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Before, str keys were being added in Python 3 because named arguments to dict() use native str for keys. This caused the templater to fail to find the keys sinc

D5664: convert: use raw strings for XML strings

2019-01-23 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Due to the source transformer, we were passing bytes into the XML APIs. This results in not finding elements and doing compares against mismatched types. U

D5665: tests: normalize XML values to bytes

2019-01-23 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This fixes some type mismatches. The encoding shouldn't matter for what this script is used for. UTF-8 seems reasonable, especially since I'm pretty sure SVN wi

[Bug 6059] New: `hg files` regression on c2aea007

2019-01-23 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6059 Bug ID: 6059 Summary: `hg files` regression on c2aea007 Product: Mercurial Version: 4.9rc0 Hardware: PC OS: Linux Status: UNCONFIRMED Severity: bug

Re: Using mercurial on windows.

2019-01-23 Thread Augie Fackler
> On Jan 9, 2019, at 21:22, Matt Harbison wrote: > > I meant to find a page to describe how to setup MSYS for running tests, but > everything looked pretty out of date, and I pretty much did the setup through > the mingw-get GUI. I've got a fresh Windows install in a VM, so maybe I'll > get

D5633: grep: use set instead of dict with dummy value

2019-01-23 Thread martinvonz (Martin von Zweigbergk)
martinvonz added a comment. In https://phab.mercurial-scm.org/D5633#83417, @lothiraldan wrote: > I get a message stating that one of the hunk of patch failed to apply and couldn't understand what is going on, could you try rebase it to see if you have the issue locally? Ah, I had

D5633: grep: use set instead of dict with dummy value

2019-01-23 Thread lothiraldan (Boris Feld)
lothiraldan added a comment. I get a message stating that one of the hunk of patch failed to apply and couldn't understand what is going on, could you try rebase it to see if you have the issue locally? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5633 To: m

Re: [PATCH STABLE] revlog: fix resolution of revlog version 0

2019-01-23 Thread Augie Fackler
queued, thanks > On Jan 21, 2019, at 08:48, Yuya Nishihara wrote: > > # HG changeset patch > # User Yuya Nishihara > # Date 1548076469 -32400 > # Mon Jan 21 22:14:29 2019 +0900 > # Branch stable > # Node ID 498a5d7f8e19d6b430f300ff6687a92270022f81 > # Parent 13c23396c7fe1633a2336b29e3a32b

[Bug 6058] New: clone repo failed

2019-01-23 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6058 Bug ID: 6058 Summary: clone repo failed Product: Mercurial Version: 4.8.1 Hardware: PC OS: Windows Status: UNCONFIRMED Severity: bug Priority: wi

Re: [PATCH 6 of 7] strip: introduce a soft strip option

2019-01-23 Thread Boris FELD
On 04/01/2019 03:50, Boris FELD wrote: > On 03/01/2019 16:23, Pulkit Goyal wrote: >> >> >> On Thu, Jan 3, 2019 at 4:14 AM Boris Feld > > wrote: >> >> # HG changeset patch >> # User Boris Feld > > >> # Date 1539697680 -72

[PATCH 2 of 2 STABLE V2 STABLE] rewriting: add an option for rewrite commands to use the archived phase

2019-01-23 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1546394872 -3600 # Wed Jan 02 03:07:52 2019 +0100 # Branch stable # Node ID 0523a679fb5a4e8fbf6e6231953ae678912f3f3b # Parent 4285aa379de0ffdfb68c6a2920a0d09f037dfa2e # EXP-Topic archived-phase-UX # Available At https://bitbucket.org/octobus/merc

[PATCH 1 of 2 STABLE V2 STABLE] strip: introduce a soft strip option

2019-01-23 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1539697680 -7200 # Tue Oct 16 15:48:00 2018 +0200 # Branch stable # Node ID 4285aa379de0ffdfb68c6a2920a0d09f037dfa2e # Parent 13c23396c7fe1633a2336b29e3a32b9b76274f28 # EXP-Topic archived-phase-UX # Available At https://bitbucket.org/octobus/merc

D5496: revset: add "samebranch" keyword argument to the merge revset

2019-01-23 Thread yuja (Yuya Nishihara)
yuja added a comment. > Maybe `anonymous`, defaulting to True? To all: the default can't be True. It would break the current `merge()` revset behavior. Only viable choice is to set the default to "don't care". And I think tri-state bool is confusing in this context. So, IMHO, it's

Re: D5496: revset: add "samebranch" keyword argument to the merge revset

2019-01-23 Thread Yuya Nishihara
> Maybe `anonymous`, defaulting to True? To all: the default can't be True. It would break the current `merge()` revset behavior. Only viable choice is to set the default to "don't care". And I think tri-state bool is confusing in this context. So, IMHO, it's better to add an argument taking a

D5663: tests: drop a duplicate definition of a constant

2019-01-23 Thread martinvonz (Martin von Zweigbergk)
martinvonz 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/D5663 AFFECTED FILES tests/artifacts/scripts/generate-churning-bundle.py CHANGE DETAILS diff --git