D1074: branch: add a --rev flag to change branch name of given revisions

2018-01-18 Thread pulkit (Pulkit Goyal)
pulkit removed subscribers: durin42, krbullock, yuja, indygreg. pulkit marked 5 inline comments as done. pulkit added inline comments. INLINE COMMENTS > martinvonz wrote in commands.py:1051-1056 > Does this need to be modified to work with --rev? I've never used `hg > branch`, but it sounds like

[PATCH] debugdeltachain: cleanup the double call to _slicechunk

2018-01-18 Thread Paul Morelle
# HG changeset patch # User Paul Morelle # Date 1516347322 -3600 # Fri Jan 19 08:35:22 2018 +0100 # Node ID ce3b9d44cbf7de6fa0faad42442797cee9b337c8 # Parent 45b678bf3a787085d56fad5bee494e0c160aa120 # EXP-Topic debug-sparse-read # Available At https://bitbucket.org/octobus/mercurial-devel/ #

D1074: branch: add a --rev flag to change branch name of given revisions

2018-01-18 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 4934. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1074?vs=4082&id=4934 REVISION DETAIL https://phab.mercurial-scm.org/D1074 AFFECTED FILES mercurial/cmdutil.py mercurial/commands.py tests/test-branch-change.

D1758: remotenames: add new namespaces for remotebookmarks and remotebranches

2018-01-18 Thread pulkit (Pulkit Goyal)
pulkit added inline comments. INLINE COMMENTS > durin42 wrote in remotenames.py:189 > Hm, I'm not sure if we want to name remote{bookmarks,branches} the same as > local ones in log output. It may make sense to defer this until after the > freeze, or else mark the remotenames extension as experi

D1898: localrepo: consistently use native str when __dict__ is involved

2018-01-18 Thread pulkit (Pulkit Goyal)
pulkit added a comment. I think this should not be a skip-blame. We are adding a call to pycompat.sysstr too. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1898 To: durin42, #hg-reviewers, pulkit Cc: mercurial-devel

D1897: smartset: use native string when peeking in __dict__

2018-01-18 Thread pulkit (Pulkit Goyal)
pulkit added a comment. The commit description says "skip blame just a bytes prefix", I think that's not correct. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1897 To: durin42, #hg-reviewers Cc: pulkit, mercurial-devel

D1895: lsprof: use native string when peeking in __dict__

2018-01-18 Thread pulkit (Pulkit Goyal)
pulkit added a comment. The commit description says "skip blame just a bytes prefix", I think that's not correct. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1895 To: durin42, #hg-reviewers Cc: pulkit, mercurial-devel

D1896: obsolete: use native string when peeking in __dict__

2018-01-18 Thread pulkit (Pulkit Goyal)
pulkit added a comment. The commit description says "skip blame just a bytes prefix", I think that's not correct. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1896 To: durin42, #hg-reviewers Cc: pulkit, mercurial-devel

[PATCH] test-blackbox: stabilize for Windows

2018-01-18 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1516339125 18000 # Fri Jan 19 00:18:45 2018 -0500 # Node ID b02eb22589468c72dc49d83d272caa909f01fe65 # Parent fccf09e44f5124abf18ae898fab553ea6d91e951 test-blackbox: stabilize for Windows This goes with 853bf7d90804. diff --git a/tests/test-

[PATCH V2] lfs: add the '{lfsattrs}' template keyword to '{lfs_files}'

2018-01-18 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1515967224 18000 # Sun Jan 14 17:00:24 2018 -0500 # Node ID fccf09e44f5124abf18ae898fab553ea6d91e951 # Parent 45b678bf3a787085d56fad5bee494e0c160aa120 lfs: add the '{lfsattrs}' template keyword to '{lfs_files}' This provides access to the met

Re: [PATCH 3 of 3] fileset: add kind:pat operator

2018-01-18 Thread Matt Harbison
On Thu, 18 Jan 2018 07:08:38 -0500, Yuya Nishihara wrote: # HG changeset patch # User Yuya Nishihara # Date 1515904155 -32400 # Sun Jan 14 13:29:15 2018 +0900 # Node ID 77ef795761a1dcc59c3098f9dec308d01b1d7846 # Parent d3fce96625e610085c2335f9446b726c74326108 fileset: add kind:pat operat

[PATCH] lfs: defer registering the pre-push hook until blobs are committed

2018-01-18 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1516328290 18000 # Thu Jan 18 21:18:10 2018 -0500 # Node ID 4e88280e794b1caafabf903a6afadbe0bd4402c0 # Parent 45b678bf3a787085d56fad5bee494e0c160aa120 lfs: defer registering the pre-push hook until blobs are committed The hook searches outgoi

[PATCH 3 of 3] lfs: dump the full response on httperror in debug mode

2018-01-18 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1516316696 18000 # Thu Jan 18 18:04:56 2018 -0500 # Node ID ace830f0f944ae48b482e224fa8e8f557f092741 # Parent b25b315be2f43cefdb364e52aa614ee3dcddefed lfs: dump the full response on httperror in debug mode This was immensely helpful in diagno

[PATCH 2 of 3] lfs: default the User-Agent header for blob transfers to 'git-lfs'

2018-01-18 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1516309161 18000 # Thu Jan 18 15:59:21 2018 -0500 # Node ID b25b315be2f43cefdb364e52aa614ee3dcddefed # Parent 3e89ebf3fc09542792ecccb41c9ea923e270bf76 lfs: default the User-Agent header for blob transfers to 'git-lfs' The custom User-Agent fo

[PATCH 1 of 3] lfs: default to not using workers for upload/download

2018-01-18 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1516306294 18000 # Thu Jan 18 15:11:34 2018 -0500 # Node ID 3e89ebf3fc09542792ecccb41c9ea923e270bf76 # Parent 7ffbd911dbc94215248500f0f95064cf3b975144 lfs: default to not using workers for upload/download I ran into truncated uploads with thi

D1862: wireproto: split streamres into legacy and modern case

2018-01-18 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger updated this revision to Diff 4933. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1862?vs=4931&id=4933 REVISION DETAIL https://phab.mercurial-scm.org/D1862 AFFECTED FILES hgext/largefiles/proto.py mercurial/hgweb/protocol.py me

D1856: * wireproto: support for pullbundles

2018-01-18 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger updated this revision to Diff 4932. joerg.sonnenberger retitled this revision from "wireproto: support for pullbundles" to "* wireproto: support for pullbundles". REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1856?vs=4853&id=4932 REVIS

D1862: wireproto: split streamres into legacy and modern case

2018-01-18 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger updated this revision to Diff 4931. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1862?vs=4837&id=4931 REVISION DETAIL https://phab.mercurial-scm.org/D1862 AFFECTED FILES hgext/largefiles/proto.py mercurial/hgweb/protocol.py me

[PATCH] sparse: --include 'dir1/dir2' should not include 'dir1/*'

2018-01-18 Thread Hollis Blanchard
# HG changeset patch # User Hollis Blanchard # Date 1516311201 28800 # Thu Jan 18 13:33:21 2018 -0800 # Node ID 0056cfcec61857cee0fa330865bd08ca1e704046 # Parent 659dfbd852e28656fad791dce4f2a22646888ba8 sparse: --include 'dir1/dir2' should not include 'dir1/*' In 2015 there was a workaround

mercurial@35685: 6 new changesets

2018-01-18 Thread Mercurial Commits
6 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/077ee15b8493 changeset: 35680:077ee15b8493 user:Yuya Nishihara date:Tue Jan 16 21:42:42 2018 +0900 summary: templater: make sure expression is terminated by '}' https://www.mercurial-scm.org/repo/hg/re

D1881: write: add the possibility to pass keyword argument from batchget to vfs

2018-01-18 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG2a7e777c9eed: write: add the possibility to pass keyword argument from batchget to vfs (authored by lothiraldan, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercu

D1882: atomicupdate: add an experimental option to use atomictemp when updating

2018-01-18 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG45b678bf3a78: atomicupdate: add an experimental option to use atomictemp when updating (authored by lothiraldan, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercu

D1880: blackbox: if --debug is used, also trace ui.debug() calls

2018-01-18 Thread joerg.sonnenberger (Joerg Sonnenberger)
This revision was automatically updated to reflect the committed changes. joerg.sonnenberger marked an inline comment as done. Closed by commit rHG853bf7d90804: blackbox: if --debug is used, also trace ui.debug() calls (authored by joerg.sonnenberger, committed by ). REPOSITORY rHG Mercurial C

D1694: debugcommands: replace opts.get('foo') by opts['foo']

2018-01-18 Thread durin42 (Augie Fackler)
durin42 added a comment. I don't feel strongly either. Martin, if you want to pursue this (which seems fine to me) why not make ocmmands.py consistent as well? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1694 To: martinvonz, #hg-reviewers Cc: durin42, yuja,

D1758: remotenames: add new namespaces for remotebookmarks and remotebranches

2018-01-18 Thread durin42 (Augie Fackler)
durin42 requested changes to this revision. durin42 added a comment. This revision now requires changes to proceed. Easiest path is to mark this as experimental, and then we can do an iteration in the next cycle and remove the warning label. INLINE COMMENTS > remotenames.py:189 > +

D1755: logexchange: introduce helper function to get remote path name

2018-01-18 Thread durin42 (Augie Fackler)
durin42 added inline comments. INLINE COMMENTS > logexchange.py:102 > +local = remote.local() > +except AttributeError: > +pass what's the deal with this attributeerror business? merits a comment at least > logexchange.py:113 > +rpath = remote._url > +exc

D1726: githelp: replace suggestion of `hg record`

2018-01-18 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa10a0d5561a9: githelp: replace suggestion of `hg record` (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1726?vs=4594&id=492

D1722: githelp: vendor Facebook authored extension

2018-01-18 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG113281667205: githelp: vendor Facebook authored extension (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1722?vs=4541&id=49

D1729: githelp: don't reference 3rd party commands for `git show`

2018-01-18 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf50067fbeead: githelp: don't reference 3rd party commands for `git show` (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D172

D1727: githelp: clean up reflog help

2018-01-18 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa4cd8f527a7f: githelp: clean up reflog help (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1727?vs=4595&id=4924 REVISION D

D1802: phabricator: add a template item for linking to a differential review

2018-01-18 Thread tom.prince (Tom Prince)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf18ba40d792f: phabricator: add a template item for linking to a differential review (authored by tom.prince, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial

D1904: bdiff: Handle the possibility of integer overflow when computing allocation size

2018-01-18 Thread alex_gaynor (Alex Gaynor)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGee3cadb495e6: bdiff: Handle the possibility of integer overflow when computing allocation size (authored by alex_gaynor, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://p

D1725: githelp: remove reference to tweakdefaults

2018-01-18 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG5edfead8cc95: githelp: remove reference to tweakdefaults (authored by indygreg, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D1725?vs=4593&id=4921#toc REPOSITORY rHG Mercur

D1724: githelp: recommend `hg import` for `git am`

2018-01-18 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG05b8adf38c55: githelp: recommend `hg import` for `git am` (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1724?vs=4592&id=49

D1728: githelp: improve help for "reset"

2018-01-18 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb3cf58487731: githelp: improve help for "reset" (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1728?vs=4596&id=4923 REVISI

D1723: githelp: improve help for `git add`

2018-01-18 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8dbd000f7de9: githelp: improve help for `git add` (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1723?vs=4542&id=4919 REVI

D1802: phabricator: add a template item for linking to a differential review

2018-01-18 Thread durin42 (Augie Fackler)
durin42 accepted this revision. durin42 added a comment. nice, I was about to do this today REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1802 To: tom.prince, #hg-reviewers, indygreg, durin42 Cc: durin42, indygreg, pulkit, mercurial-devel __

D1074: branch: add a --rev flag to change branch name of given revisions

2018-01-18 Thread martinvonz (Martin von Zweigbergk)
martinvonz added inline comments. INLINE COMMENTS > cmdutil.py:720 > +with repo.wlock(), repo.lock(), repo.transaction('branches'): > +# abort incase in uncommitted merger of dirty wdir > +bailifchanged(repo) "in case of uncommited merge or dirty wdir"? (note that there are 4

D1880: blackbox: if --debug is used, also trace ui.debug() calls

2018-01-18 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger marked an inline comment as done. joerg.sonnenberger added inline comments. INLINE COMMENTS > yuja wrote in blackbox.py:136 > These arguments can't be passed directly to `.log()`. > `.log()` takes a format string and its parameters, whereas `.debug()` > takes a list of arbitrar

D1909: cmdutil: add a kludge to make bytes repr() the same on 2 and 3

2018-01-18 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This fixes the output formatting problems I see in debugobsolete. I still am seeing some effectflag differences, which we'll need to tackle separately. I'm

D1911: python3: whitelist another 24 passing tests

2018-01-18 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a reviewer: pulkit. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1911 AFFECTED FILES contrib/python3-whitelist CHANGE DETAILS diff --

D1910: obsutil: work around filter() being a generator in Python 3

2018-01-18 Thread durin42 (Augie Fackler)
durin42 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/D1910 AFFECTED FILES mercurial/obsutil.py CHANGE DETAILS diff --git a/mercurial/obsutil.py b/mercurial

D1908: python3: whitelist an additional 23 passing tests

2018-01-18 Thread pulkit (Pulkit Goyal)
pulkit accepted this revision. pulkit added a comment. yayyayyayyay REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1908 To: durin42, pulkit, #hg-reviewers Cc: mercurial-devel ___

Re: [PATCH 3 of 4 V3] largefiles: add support for 'largefiles://' url scheme

2018-01-18 Thread Boris Feld
`On Tue, 2018-01-09 at 21:08 +0900, Yuya Nishihara wrote: > On Mon, 08 Jan 2018 22:16:47 +0100, Boris Feld wrote: > > # HG changeset patch > > # User Boris Feld > > # Date 1513861077 -3600 > > # Thu Dec 21 13:57:57 2017 +0100 > > # Node ID 18db7b5d796d31fbced9d41dd50a61d0e62e6fcb > > # Parent

D1908: python3: whitelist an additional 23 passing tests

2018-01-18 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a reviewer: pulkit. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1908 AFFECTED FILES contrib/python3-whitelist CHANGE DETAILS diff --

D1907: tests: fix a missed b prefix in a test extension in test-strip.t

2018-01-18 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 1. skip-blame REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1907 AFFECTED FILES tests/test-strip.t CHANGE DETAILS diff --git a/

D1901: mq: fix up statusentry to be both repr()-able and bytes()-able

2018-01-18 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 4908. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1901?vs=4891&id=4908 REVISION DETAIL https://phab.mercurial-scm.org/D1901 AFFECTED FILES hgext/mq.py CHANGE DETAILS diff --git a/hgext/mq.py b/hgext/mq.py ---

D1903: mq: use bytes() instead of str() to encode statusentries for writing

2018-01-18 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 4910. durin42 retitled this revision from "mq: use pycompat.bytestr() instead of str() to encode statusentries for writing" to "mq: use bytes() instead of str() to encode statusentries for writing". REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE htt

D1902: mq: open status file et al in bytes mode

2018-01-18 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 4909. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1902?vs=4892&id=4909 REVISION DETAIL https://phab.mercurial-scm.org/D1902 AFFECTED FILES hgext/mq.py CHANGE DETAILS diff --git a/hgext/mq.py b/hgext/mq.py ---

D1906: revlog: correct type in check to verify rawtext is immutable

2018-01-18 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a reviewer: indygreg. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This fixes far more failures than I feel like it has any right to, so there's clearly some subtle interaction between self._cach

D1891: transaction: fix hg version check when loading journal

2018-01-18 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 4907. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1891?vs=4881&id=4907 REVISION DETAIL https://phab.mercurial-scm.org/D1891 AFFECTED FILES mercurial/transaction.py CHANGE DETAILS diff --git a/mercurial/transa

D1884: strip: use %d for known-int string interpolation

2018-01-18 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 4906. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1884?vs=4874&id=4906 REVISION DETAIL https://phab.mercurial-scm.org/D1884 AFFECTED FILES hgext/strip.py CHANGE DETAILS diff --git a/hgext/strip.py b/hgext/str

D1905: strip: use in-place revset formatspec instead of %-formatting ourselves

2018-01-18 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Caught by Yuya during review of https://phab.mercurial-scm.org/D1884. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1905 AFFECTED F

[PATCH] debugdownload: read repository hgrc if there is one

2018-01-18 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1516290434 -3600 # Thu Jan 18 16:47:14 2018 +0100 # Node ID 197a41c16b737d38c0d1bc9f1608073a9da7acc1 # Parent 9c575c22dcf4305db2160dc45350ba8e40cf5e60 # EXP-Topic lfurl # Available At https://bitbucket.org/octobus/mercurial-devel/ #

Re: [PATCH 1 of 5] changelog: introduce a 'tiprev' method

2018-01-18 Thread Jordi Gutiérrez Hermoso
On Wed, 2018-01-17 at 19:33 +0100, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1493857401 -7200 > #  Thu May 04 02:23:21 2017 +0200 > # Node ID e3bb410037a49980a8316e4e5a49ab23ea978047 > # Parent  0e369eca888fc80ee980fe8200c59dc7b0024dae > # EXP-Topic tiprev > # Avail

[PATCH 4 of 4] revbranchcache: advertise and use 'rbc' exchange capability

2018-01-18 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1516284622 -3600 # Thu Jan 18 15:10:22 2018 +0100 # Node ID 70277121f723577a57008607ef0536d23af8df2d # Parent 544af0806c0556e6281b38214466d5acd623b5f3 # EXP-Topic wire-rbc # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 1 of 4] revbranchcache: add a public function to update the data

2018-01-18 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1516281665 -3600 # Thu Jan 18 14:21:05 2018 +0100 # Node ID 4ad1a1054450063cc9aa19ab2037722c64877eb7 # Parent 9c575c22dcf4305db2160dc45350ba8e40cf5e60 # EXP-Topic wire-rbc # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 3 of 4] revbranchcache: add the necessary bit to send 'rbc' data over bundle2

2018-01-18 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1516283882 -3600 # Thu Jan 18 14:58:02 2018 +0100 # Node ID 544af0806c0556e6281b38214466d5acd623b5f3 # Parent 9c1ad82226a2e1fc7ca69550a46a7f7329c6b579 # EXP-Topic wire-rbc # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 2 of 4] revbranchcache: add a bundle2 handler for a rbc part

2018-01-18 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1516282142 -3600 # Thu Jan 18 14:29:02 2018 +0100 # Node ID 9c1ad82226a2e1fc7ca69550a46a7f7329c6b579 # Parent 4ad1a1054450063cc9aa19ab2037722c64877eb7 # EXP-Topic wire-rbc # Available At https://bitbucket.org/octobus/mercurial-devel/ #

Re: [PATCH 2 of 2] templatekw: add a {negrev} keyword

2018-01-18 Thread Jordi Gutiérrez Hermoso
On Thu, 2018-01-18 at 21:05 +0900, Yuya Nishihara wrote: > On Wed, 17 Jan 2018 22:14:30 -0500, Jordi Gutiérrez Hermoso wrote: > > # HG changeset patch > > # User Jordi Gutiérrez Hermoso > > # Date 1516243120 18000 > > #  Wed Jan 17 21:38:40 2018 -0500 > > # Node ID cbf1d676a938e78d40cd3504dd91

Re: [PATCH 1 of 2] templatekw: add utility function numrevs

2018-01-18 Thread Jordi Gutiérrez Hermoso
On Thu, 2018-01-18 at 21:03 +0900, Yuya Nishihara wrote: > On Wed, 17 Jan 2018 22:14:29 -0500, Jordi Gutiérrez Hermoso wrote: > > # HG changeset patch > > # User Jordi Gutiérrez Hermoso > > # Date 1516242948 18000 > > #  Wed Jan 17 21:35:48 2018 -0500 > > # Node ID 701f8a9defdc09bb63f2596e2fc4

D1884: strip: use %d for known-int string interpolation

2018-01-18 Thread durin42 (Augie Fackler)
durin42 added inline comments. INLINE COMMENTS > yuja wrote in strip.py:218 > No. I mean it should use revset.formatspec. i.e. `revs(expr, arg)` instead of > `revs(expr % arg)`. Oh good catch, I'll insert another change to fix that in isolation. REPOSITORY rHG Mercurial REVISION DETAIL ht

D1904: bdiff: Handle the possibility of integer overflow when computing allocation size

2018-01-18 Thread alex_gaynor (Alex Gaynor)
alex_gaynor created this revision. alex_gaynor added a reviewer: durin42. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial BRANCH malloc-overflow (bookmark) on default (branch) REVISION DETAIL https://phab.mercurial-scm.org/D1904

Re: [PATCH] hg: use public interface ms.localctx instead of ms._local

2018-01-18 Thread Yuya Nishihara
On Thu, 18 Jan 2018 19:41:11 +0530, Pulkit Goyal wrote: > # HG changeset patch > # User Pulkit Goyal <7895pul...@gmail.com> > # Date 1516284617 -19800 > # Thu Jan 18 19:40:17 2018 +0530 > # Node ID 7b7a67361405f708c071c1fcacb72ad166a67d5b > # Parent a1a5c3842b6f11c5f9eb4c9c55ada2d211e389a0 >

D1880: blackbox: if --debug is used, also trace ui.debug() calls

2018-01-18 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger updated this revision to Diff 4903. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1880?vs=4902&id=4903 REVISION DETAIL https://phab.mercurial-scm.org/D1880 AFFECTED FILES hgext/blackbox.py tests/blackbox-readonly-dispatch.py te

D1880: blackbox: if --debug is used, also trace ui.debug() calls

2018-01-18 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger updated this revision to Diff 4902. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1880?vs=4865&id=4902 REVISION DETAIL https://phab.mercurial-scm.org/D1880 AFFECTED FILES hgext/blackbox.py tests/blackbox-readonly-dispatch.py te

[PATCH] hg: use public interface ms.localctx instead of ms._local

2018-01-18 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1516284617 -19800 # Thu Jan 18 19:40:17 2018 +0530 # Node ID 7b7a67361405f708c071c1fcacb72ad166a67d5b # Parent a1a5c3842b6f11c5f9eb4c9c55ada2d211e389a0 hg: use public interface ms.localctx instead of ms._local diff --git

D1884: strip: use %d for known-int string interpolation

2018-01-18 Thread yuja (Yuya Nishihara)
yuja added inline comments. INLINE COMMENTS > durin42 wrote in strip.py:218 > I'm unclear: are you asking to remove the b-prefix? Adding it was > intentional, since eventually we're going to need to rewrite everything so we > can ditch the module loader hack. No. I mean it should use revset.fo

D1903: mq: use pycompat.bytestr() instead of str() to encode statusentries for writing

2018-01-18 Thread yuja (Yuya Nishihara)
yuja added a comment. Perhaps it could be just `bytes`. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1903 To: durin42, #hg-reviewers Cc: yuja, mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercuria

D1901: mq: fix up statusentry to be both repr()-able and bytes()-able

2018-01-18 Thread yuja (Yuya Nishihara)
yuja added a comment. If we make `statusentry` stringifiable, we can do __str__ = encoding.strmethod(__bytes__) REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1901 To: durin42, #hg-reviewers Cc: yuja, mercurial-devel __

D1894: dirstate: use native strings when peeking in __dict__

2018-01-18 Thread pulkit (Pulkit Goyal)
pulkit added a comment. Maybe skip-blame this one too? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1894 To: durin42, #hg-reviewers Cc: pulkit, mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercuri

D1893: context: use native string when peeking in __dict__

2018-01-18 Thread pulkit (Pulkit Goyal)
pulkit added a comment. Maybe skip-blame this one also? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1893 To: durin42, #hg-reviewers Cc: pulkit, mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercur

D1892: bundlerepo: use native str when peeking in __dict__

2018-01-18 Thread pulkit (Pulkit Goyal)
pulkit added a comment. Maybe skip-blame this also? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1892 To: durin42, #hg-reviewers Cc: pulkit, mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-

D1891: transaction: fix hg version check when loading journal

2018-01-18 Thread pulkit (Pulkit Goyal)
pulkit added inline comments. INLINE COMMENTS > transaction.py:616 > ver = lines[0][:-1] > -if ver == str(version): > +if ver == pycompat.bytestr(version): > for line in lines[1:]: "%d" is preferred REPOSITORY rHG Mercurial REVISION DETAI

D1884: strip: use %d for known-int string interpolation

2018-01-18 Thread durin42 (Augie Fackler)
durin42 marked an inline comment as done. durin42 added inline comments. INLINE COMMENTS > yuja wrote in strip.py:218 > It should be `repo.revs("%d::.", uctx.rev())` by the way. I'm unclear: are you asking to remove the b-prefix? Adding it was intentional, since eventually we're going to need t

D1884: strip: use %d for known-int string interpolation

2018-01-18 Thread yuja (Yuya Nishihara)
yuja added inline comments. INLINE COMMENTS > strip.py:218 > # between the working context and uctx > -descendantrevs = repo.revs("%s::." % uctx.rev()) > +descendantrevs = repo.revs(b"%d::." % uctx.rev()) > changedfiles = [] It should be `repo.re

D1889: tests: bytestring-ify all the adhoc extensions in test-strip.t

2018-01-18 Thread pulkit (Pulkit Goyal)
pulkit added a comment. This one also skip-blame? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1889 To: durin42, #hg-reviewers Cc: pulkit, mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-sc

D1888: filemerge: fix regular expression pattern to be bytes

2018-01-18 Thread pulkit (Pulkit Goyal)
pulkit added a comment. maybe #skip-blame? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1888 To: durin42, #hg-reviewers Cc: pulkit, mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org h

D1884: strip: use %d for known-int string interpolation

2018-01-18 Thread pulkit (Pulkit Goyal)
pulkit accepted this revision. pulkit added inline comments. INLINE COMMENTS > durin42 wrote in strip.py:218 > It's not, but we're going to eventually want to kill the module loader hack, > and so I figured since I'm dirtying the line anyway I may as well b-prefix it. That's a good idea. I will

D1884: strip: use %d for known-int string interpolation

2018-01-18 Thread durin42 (Augie Fackler)
durin42 marked an inline comment as done. durin42 added inline comments. INLINE COMMENTS > pulkit wrote in strip.py:218 > b'' is not required. It's not, but we're going to eventually want to kill the module loader hack, and so I figured since I'm dirtying the line anyway I may as well b-prefix

D1867: evolution: report new unstable changesets

2018-01-18 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1a09dad8b85a: evolution: report new unstable changesets (authored by martinvonz, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D1867?vs=4842&id=4898#toc REPOSITORY rHG Mercu

D1869: update: display the obsfate of hidden revision we update to

2018-01-18 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG35a0f6f31eef: update: display the obsfate of hidden revision we update to (authored by lothiraldan, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D1869?vs=4847&id=4900#toc REP

D1884: strip: use %d for known-int string interpolation

2018-01-18 Thread pulkit (Pulkit Goyal)
pulkit added inline comments. INLINE COMMENTS > strip.py:218 > # between the working context and uctx > -descendantrevs = repo.revs("%s::." % uctx.rev()) > +descendantrevs = repo.revs(b"%d::." % uctx.rev()) > changedfiles = [] b'' is not required

D1870: bookmarks: display the obsfate of hidden revision we create a bookmark on

2018-01-18 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa1a5c3842b6f: bookmarks: display the obsfate of hidden revision we create a bookmark on (authored by lothiraldan, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.merc

D1866: transaction: register summary callbacks only at start of transaction (BC)

2018-01-18 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG03e921942163: transaction: register summary callbacks only at start of transaction (BC) (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercu

D1868: evolution: make reporting of new unstable changesets optional

2018-01-18 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG5cd60b0587a8: evolution: make reporting of new unstable changesets optional (authored by martinvonz, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D1868?vs=4843&id=4899#toc RE

D1865: repair: filter out unknown revisions from phasecache within transaction

2018-01-18 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG54074a82e050: repair: filter out unknown revisions from phasecache within transaction (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercuri

D1861: wireproto: drop support for reader interface from streamres (API)

2018-01-18 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8cdb671dbd0b: wireproto: drop support for reader interface from streamres (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.o

D1864: repair: drop unnecessary phase cache invalidation

2018-01-18 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG5748f404dad3: repair: drop unnecessary phase cache invalidation (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1864?vs=48

D1899: localrepo: pass transaction kwargs as strings, not bytes

2018-01-18 Thread durin42 (Augie Fackler)
durin42 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/D1899 AFFECTED FILES mercurial/localrepo.py CHANGE DETAILS diff --git a/mercurial/localrepo.py b/mercu

D1898: localrepo: consistently use native str when __dict__ is involved

2018-01-18 Thread durin42 (Augie Fackler)
durin42 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/D1898 AFFECTED FILES mercurial/localrepo.py CHANGE DETAILS diff --git a/mercurial/localrepo.py b/mercu

D1901: mq: fix up statusentry to be both repr()-able and bytes()-able

2018-01-18 Thread durin42 (Augie Fackler)
durin42 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/D1901 AFFECTED FILES hgext/mq.py CHANGE DETAILS diff --git a/hgext/mq.py b/hgext/mq.py --- a/hgext/mq.

D1903: mq: use pycompat.bytestr() instead of str() to encode statusentries for writing

2018-01-18 Thread durin42 (Augie Fackler)
durin42 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/D1903 AFFECTED FILES hgext/mq.py CHANGE DETAILS diff --git a/hgext/mq.py b/hgext/mq.py --- a/hgext/mq.

D1902: mq: open status file et al in bytes mode

2018-01-18 Thread durin42 (Augie Fackler)
durin42 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/D1902 AFFECTED FILES hgext/mq.py CHANGE DETAILS diff --git a/hgext/mq.py b/hgext/mq.py --- a/hgext/mq.

D1896: obsolete: use native string when peeking in __dict__

2018-01-18 Thread durin42 (Augie Fackler)
durin42 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/D1896 AFFECTED FILES mercurial/obsolete.py CHANGE DETAILS diff --git a/mercurial/obsolete.py b/mercuri

D1893: context: use native string when peeking in __dict__

2018-01-18 Thread durin42 (Augie Fackler)
durin42 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/D1893 AFFECTED FILES mercurial/context.py CHANGE DETAILS diff --git a/mercurial/context.py b/mercurial

D1885: commands: rewrite legacy ternary operator hack using modern syntax

2018-01-18 Thread durin42 (Augie Fackler)
durin42 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/D1885 AFFECTED FILES mercurial/commands.py CHANGE DETAILS diff --git a/mercurial/commands.py b/mercuri

D1900: python3: whitelist another 7 passing tests

2018-01-18 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a reviewer: pulkit. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1900 AFFECTED FILES contrib/python3-whitelist CHANGE DETAILS diff --

D1894: dirstate: use native strings when peeking in __dict__

2018-01-18 Thread durin42 (Augie Fackler)
durin42 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/D1894 AFFECTED FILES mercurial/dirstate.py CHANGE DETAILS diff --git a/mercurial/dirstate.py b/mercuri

D1897: smartset: use native string when peeking in __dict__

2018-01-18 Thread durin42 (Augie Fackler)
durin42 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/D1897 AFFECTED FILES mercurial/smartset.py CHANGE DETAILS diff --git a/mercurial/smartset.py b/mercuri

  1   2   >