Re: [PATCH 03 of 10 V4] rcutil: extra directory listing logic

2017-03-26 Thread Jun Wu
Excerpts from Jun Wu's message of 2017-03-26 21:49:16 -0700: > # HG changeset patch > # User Jun Wu > # Date 1490586365 25200 > # Sun Mar 26 20:46:05 2017 -0700 > # Node ID 30a341f7fd233e55615cab11a64a8a521f389783 > # Parent cd0c8320d216165bd8a62acc711e174ddef7a9f9 > #

[PATCH 10 of 10 V4] pager: do not read from environment variable

2017-03-26 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490589827 25200 # Sun Mar 26 21:43:47 2017 -0700 # Node ID 4a8d065bbad80d3b3401010375bc80165404aa87 # Parent cc06430c144b85ae2d53528eb8149f1debdb7706 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 09 of 10 V4] ui: simplify geteditor

2017-03-26 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490589702 25200 # Sun Mar 26 21:41:42 2017 -0700 # Node ID cc06430c144b85ae2d53528eb8149f1debdb7706 # Parent 4ed7dd7a9241b7b792ab6c810d298a70348c9a27 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 08 of 10 V4] debugconfig: list environment variables in debug output

2017-03-26 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490589622 25200 # Sun Mar 26 21:40:22 2017 -0700 # Node ID 4ed7dd7a9241b7b792ab6c810d298a70348c9a27 # Parent bb2927de1dc8c076c6cfe2369effc132e8371beb # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 01 of 10 V4] rcutil: move scmutil.*rcpath to rcutil (API)

2017-03-26 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490584722 25200 # Sun Mar 26 20:18:42 2017 -0700 # Node ID dcef7872ff35187d679a79dc6ad62cb9029923b1 # Parent e86eb75e74ce1b0803c26d86a229b9b711f6d76a # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 03 of 10 V4] rcutil: extra directory listing logic

2017-03-26 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490586365 25200 # Sun Mar 26 20:46:05 2017 -0700 # Node ID 30a341f7fd233e55615cab11a64a8a521f389783 # Parent cd0c8320d216165bd8a62acc711e174ddef7a9f9 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 02 of 10 V4] rcutil: split osrcpath to return default.d paths (API)

2017-03-26 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490584892 25200 # Sun Mar 26 20:21:32 2017 -0700 # Node ID cd0c8320d216165bd8a62acc711e174ddef7a9f9 # Parent dcef7872ff35187d679a79dc6ad62cb9029923b1 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 04 of 10 V4] rcutil: rename rcpath to rccomponents (API)

2017-03-26 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490586480 25200 # Sun Mar 26 20:48:00 2017 -0700 # Node ID 8caf1898b14bd5017e1b66348e77194a6cb715e0 # Parent 30a341f7fd233e55615cab11a64a8a521f389783 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 05 of 10 V4] rcutil: let rccomponents return different types of configs (API)

2017-03-26 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490587469 25200 # Sun Mar 26 21:04:29 2017 -0700 # Node ID 9b02412194004dc012e7f3119520138483c22644 # Parent 8caf1898b14bd5017e1b66348e77194a6cb715e0 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 07 of 10 V4] rcutil: let environ override system configs (BC)

2017-03-26 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490589217 25200 # Sun Mar 26 21:33:37 2017 -0700 # Node ID bb2927de1dc8c076c6cfe2369effc132e8371beb # Parent 9ba047e9e8b929c0fc38d0606b4c02438a8aef29 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH] runtests: unset editor and pager related environment variables

2017-03-26 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490587134 25200 # Sun Mar 26 20:58:54 2017 -0700 # Node ID 65f76087bc84162bdf0735f156d403e873e5c4e8 # Parent e86eb75e74ce1b0803c26d86a229b9b711f6d76a # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 1 of 2 V3] serve: add support for Mercurial subrepositories

2017-03-26 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1488146743 18000 # Sun Feb 26 17:05:43 2017 -0500 # Node ID 0ff9bef3e0f67422cf29c200fa4a671d861d060b # Parent c60091fa1426892552dd6c0dd4b9c49e3c3da045 serve: add support for Mercurial subrepositories I've been using

[PATCH 2 of 2 V3] serve: make the URL the same for `hg serve` and `hg serve -S`

2017-03-26 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1488146777 18000 # Sun Feb 26 17:06:17 2017 -0500 # Node ID d584ca4bc33bd2ebeaf9a7bd86440b3cdcecc138 # Parent 0ff9bef3e0f67422cf29c200fa4a671d861d060b serve: make the URL the same for `hg serve` and `hg serve -S`

[PATCH] runtests: change local IP glob pattern from "127.0.0.1" to "$LOCALIP"

2017-03-26 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490583437 25200 # Sun Mar 26 19:57:17 2017 -0700 # Node ID 82f3dbff59306181303549600cd7a307da667d05 # Parent 38ff33314869869535eb8f5c9cf4fa688847010e # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 4 of 8] largefiles: avoid meaningless changectx looking up

2017-03-26 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1490575475 -32400 # Mon Mar 27 09:44:35 2017 +0900 # Node ID d1347341abb3e026ef6aa751b1048ceef44b3991 # Parent 34114d49e2c514600ec7527d266cdef2ee22e249 largefiles: avoid meaningless changectx looking up Logically,

[PATCH 8 of 8] largefiles: add lfile argument to updatestandin() for efficiency (API)

2017-03-26 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1490575476 -32400 # Mon Mar 27 09:44:36 2017 +0900 # Node ID 30343c565caf83ff165b05d2cd95f63ab50fe377 # Parent b80768388eb2700a619159447461063983dd5806 largefiles: add lfile argument to updatestandin() for

[PATCH 6 of 8] largefiles: rename local variable appropriately

2017-03-26 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1490575476 -32400 # Mon Mar 27 09:44:36 2017 +0900 # Node ID a26720a7404871d286ac4070710022b448572cb2 # Parent 77257838e7eb6abf1796e30539c996b4bdfc57a5 largefiles: rename local variable appropriately repo['.'] is

[PATCH 5 of 8] largefiles: avoid redundant loop to eliminate None from list

2017-03-26 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1490575475 -32400 # Mon Mar 27 09:44:35 2017 +0900 # Node ID 77257838e7eb6abf1796e30539c996b4bdfc57a5 # Parent d1347341abb3e026ef6aa751b1048ceef44b3991 largefiles: avoid redundant loop to eliminate None from list

[PATCH 7 of 8] largefiles: use strip() instead of slicing to get rid of EOL of standin

2017-03-26 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1490575476 -32400 # Mon Mar 27 09:44:36 2017 +0900 # Node ID b80768388eb2700a619159447461063983dd5806 # Parent a26720a7404871d286ac4070710022b448572cb2 largefiles: use strip() instead of slicing to get rid of EOL

[PATCH 1 of 8] largefiles: reuse hexsha1() to centralize hash calculation logic into it

2017-03-26 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1490575474 -32400 # Mon Mar 27 09:44:34 2017 +0900 # Node ID 936283df3680c7106951d752c9055f438d667411 # Parent e86eb75e74ce1b0803c26d86a229b9b711f6d76a largefiles: reuse hexsha1() to centralize hash calculation

[PATCH 2 of 8] largefiles: omit updating newly added standin at linear merging

2017-03-26 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1490575474 -32400 # Mon Mar 27 09:44:34 2017 +0900 # Node ID b279d4b86fd671556ada1ce24a14a39894b6aa11 # Parent 936283df3680c7106951d752c9055f438d667411 largefiles: omit updating newly added standin at linear

[PATCH 3 of 8] largefiles: avoid redundant changectx looking up at each repetitions

2017-03-26 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1490575475 -32400 # Mon Mar 27 09:44:35 2017 +0900 # Node ID 34114d49e2c514600ec7527d266cdef2ee22e249 # Parent b279d4b86fd671556ada1ce24a14a39894b6aa11 largefiles: avoid redundant changectx looking up at each

[PATCH 1 of 2] debugfsinfo: show fstype for given path

2017-03-26 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490574577 25200 # Sun Mar 26 17:29:37 2017 -0700 # Node ID 0b8f4bab3597b1621c07bfc82b9c16a77459a9b1 # Parent e86eb75e74ce1b0803c26d86a229b9b711f6d76a # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 2 of 2] debugfsinfo: improve case-sensitive testing

2017-03-26 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490576373 25200 # Sun Mar 26 17:59:33 2017 -0700 # Node ID 38ff33314869869535eb8f5c9cf4fa688847010e # Parent 0b8f4bab3597b1621c07bfc82b9c16a77459a9b1 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 5 of 5] crecord: use ProgrammingError

2017-03-26 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490572823 25200 # Sun Mar 26 17:00:23 2017 -0700 # Node ID 234ade0bb549d9d1bd20aba41cd8ddc96619d703 # Parent 4b594304a50056b5bde7b193e5496db6f68982dc # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 3 of 5] bundle2: use ProgrammingError

2017-03-26 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490572645 25200 # Sun Mar 26 16:57:25 2017 -0700 # Node ID 79b332a45f07401b16e0b8cdb861655057773ff7 # Parent 14659f3ffd6070d6e153f633e18fef9e8df29485 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 4 of 5] transaction: use ProgrammingError

2017-03-26 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490572770 25200 # Sun Mar 26 16:59:30 2017 -0700 # Node ID 4b594304a50056b5bde7b193e5496db6f68982dc # Parent 79b332a45f07401b16e0b8cdb861655057773ff7 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 2 of 5] merge: use ProgrammingError

2017-03-26 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490572556 25200 # Sun Mar 26 16:55:56 2017 -0700 # Node ID 14659f3ffd6070d6e153f633e18fef9e8df29485 # Parent 92d7eff3f4c7e44e8aab62b486bda78a37b73b83 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH shelve-ext v2] shelve: add logic to preserve active bookmarks

2017-03-26 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1490572279 25200 # Sun Mar 26 16:51:19 2017 -0700 # Node ID 89739c20e31944f987de17620d76c82df6f0eda7 # Parent c60091fa1426892552dd6c0dd4b9c49e3c3da045 shelve: add logic to preserve active bookmarks This adds an explicit

Re: [PATCH RFC] repo: add an ability to hide nodes in an appropriate way

2017-03-26 Thread Jun Wu
I think this is a good direction. See inline comments. Not related directly to this patch, but I was thinking introducing some "post-transaction" mechanism for transaction. So the caller won't need to put the "strip" outside a transaction. Compare: Currently: if obsmarker-enabled:

[PATCH shelve-ext] shelve: add logic to preserve active bookmarks

2017-03-26 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1490570316 25200 # Sun Mar 26 16:18:36 2017 -0700 # Node ID bf8bee90e60aafe591279cab2077e82cbae86573 # Parent c60091fa1426892552dd6c0dd4b9c49e3c3da045 shelve: add logic to preserve active bookmarks This adds an explicit

mercurial@31628: 9 new changesets

2017-03-26 Thread Mercurial Commits
9 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/5b1461de2fbe changeset: 31620:5b1461de2fbe user:Martin von Zweigbergk date:Fri Mar 24 16:20:04 2017 -0700 summary: tests: add tests with

Re: GSoC 17: Release notes extension

2017-03-26 Thread Rishabh Madan
On Sun, Mar 26, 2017 at 10:55 PM, Gregory Szorc wrote: > On Thu, Mar 23, 2017 at 10:02 PM, Martin von Zweigbergk < > martinv...@google.com> wrote: > >> As an alternative to compiling the release notes from commit messages, we >> could do what Git does, which is to keep a

[PATCH 05 of 11] manifest: coerce _msearch argument to bytestr at method start

2017-03-26 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1490567242 14400 # Sun Mar 26 18:27:22 2017 -0400 # Node ID d5dcfa6b2e20183ba2d6e439a23f5f2f4bf7981e # Parent 54631fab906cb662e370ce313a0395292f7dfa15 manifest: coerce _msearch argument to bytestr at method start This

[PATCH 08 of 11] vfs: fix two setattr calls to use sysstrs

2017-03-26 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1490567343 14400 # Sun Mar 26 18:29:03 2017 -0400 # Node ID 8d683b05a16a94321d6c891ddc40f1bc3976db64 # Parent e7fe3ab60132647a9c3b86b2960b385e61b9dcf0 vfs: fix two setattr calls to use sysstrs diff --git a/mercurial/vfs.py

[PATCH 01 of 11] revsetlang: fix _quote on int on python3

2017-03-26 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1490561309 14400 # Sun Mar 26 16:48:29 2017 -0400 # Node ID 1250b7d77ba41c7ce1500d4c8e5fef921a14f683 # Parent e86eb75e74ce1b0803c26d86a229b9b711f6d76a revsetlang: fix _quote on int on python3 Thanks to Yuya for spotting the

[PATCH 11 of 11] changelog: assert that revlog files are opened with bytes in the mode

2017-03-26 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1490567481 14400 # Sun Mar 26 18:31:21 2017 -0400 # Node ID 224f1d7dd46f52b3a10237d86f6dfbc0dcf4eada # Parent c5ecedb198527765f465da499c37cc53fc38ea53 changelog: assert that revlog files are opened with bytes in the mode

[PATCH 10 of 11] py3: prove that a second commit in a given repository works

2017-03-26 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1490567422 14400 # Sun Mar 26 18:30:22 2017 -0400 # Node ID c5ecedb198527765f465da499c37cc53fc38ea53 # Parent 386820bf1ae17e2fd7425164c091065a39d21193 py3: prove that a second commit in a given repository works diff --git

[PATCH 02 of 11] pycompat: forward encoding kwarg on open()

2017-03-26 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1490562287 14400 # Sun Mar 26 17:04:47 2017 -0400 # Node ID 28149aad82cb12522f1ba50b0bb184d1f960a9c9 # Parent 1250b7d77ba41c7ce1500d4c8e5fef921a14f683 pycompat: forward encoding kwarg on open() diff --git

[PATCH 03 of 11] ui: use latin-1 as "fat bytes" to preserve EOL behavior on py3

2017-03-26 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1490562355 14400 # Sun Mar 26 17:05:55 2017 -0400 # Node ID 25355685cfaced26214c1fb89d191c3705dc52c7 # Parent 28149aad82cb12522f1ba50b0bb184d1f960a9c9 ui: use latin-1 as "fat bytes" to preserve EOL behavior on py3 This

[PATCH 07 of 11] revlog: fix many file handle opens to explicitly use bytes mode

2017-03-26 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1490567324 14400 # Sun Mar 26 18:28:44 2017 -0400 # Node ID e7fe3ab60132647a9c3b86b2960b385e61b9dcf0 # Parent 48144fe2d912b7d9fc300955d0c881aceead6930 revlog: fix many file handle opens to explicitly use bytes mode This

[PATCH 06 of 11] bdiff: coerce to bytes() not str() in pure code

2017-03-26 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1490567279 14400 # Sun Mar 26 18:27:59 2017 -0400 # Node ID 48144fe2d912b7d9fc300955d0c881aceead6930 # Parent d5dcfa6b2e20183ba2d6e439a23f5f2f4bf7981e bdiff: coerce to bytes() not str() in pure code diff --git

[PATCH 09 of 11] changelog: fix default open mode to use bytes io instead of str

2017-03-26 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1490567390 14400 # Sun Mar 26 18:29:50 2017 -0400 # Node ID 386820bf1ae17e2fd7425164c091065a39d21193 # Parent 8d683b05a16a94321d6c891ddc40f1bc3976db64 changelog: fix default open mode to use bytes io instead of str diff

[PATCH 04 of 11] changelog: coerce data to write to bytes(), not str()

2017-03-26 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1490567095 14400 # Sun Mar 26 18:24:55 2017 -0400 # Node ID 54631fab906cb662e370ce313a0395292f7dfa15 # Parent 25355685cfaced26214c1fb89d191c3705dc52c7 changelog: coerce data to write to bytes(), not str() I'm pretty sure we

[PATCH RFC] repo: add an ability to hide nodes in an appropriate way

2017-03-26 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1490567500 25200 # Sun Mar 26 15:31:40 2017 -0700 # Node ID 43cd56f38c1ca2ad1920ed6804e1a90a5e263c0d # Parent c60091fa1426892552dd6c0dd4b9c49e3c3da045 repo: add an ability to hide nodes in an appropriate way Potentially

Re: [PATCH STABLE] changegroup: retry read() when partial data returned

2017-03-26 Thread Gregory Szorc
On Sun, Mar 26, 2017 at 12:17 PM, Jun Wu wrote: > The direction looks good. I'd like to see more solid code. Commented below. > > Excerpts from Gregory Szorc's message of 2017-03-26 11:56:59 -0700: > > +# Retry to get remaining data. In cases where the stream has > errored or >

Re: [PATCH 4 of 4 V2] obsolete: allow cycles

2017-03-26 Thread Jun Wu
Excerpts from Gregory Szorc's message of 2017-03-26 11:25:28 -0700: > I have a thought experiment to add. > > The obsolete store is strictly ordered. So for a repo detached from the > world and not doing any exchange, "date" is strictly metadata and the > offset of a marker in the store is all

Re: [PATCH 02 of 10 shelve-ext v4] shelve: add an ability to write key-val data to a new type of shelve files

2017-03-26 Thread Augie Fackler
> On Mar 25, 2017, at 7:35 PM, Kostia Balytskyi wrote: > > On 21/03/2017 21:48, Augie Fackler wrote: > >> On Sat, Mar 11, 2017 at 01:00:21PM -0800, Kostia Balytskyi wrote: >>> # HG changeset patch >>> # User Kostia Balytskyi >>> # Date 1489186989 28800

Re: [PATCH 10 of 10 shelve-ext v4] shelve: add logic to preserve active bookmarks

2017-03-26 Thread Augie Fackler
> On Mar 25, 2017, at 7:32 PM, Kostia Balytskyi wrote: > > On 21/03/2017 21:52, Augie Fackler wrote: > >> On Sat, Mar 11, 2017 at 01:00:29PM -0800, Kostia Balytskyi wrote: >>> # HG changeset patch >>> # User Kostia Balytskyi >>> # Date 1489250294 28800

Re: [PATCH 07 of 10 shelve-ext v4] shelve: add shelve type saving and loading

2017-03-26 Thread Augie Fackler
> On Mar 25, 2017, at 7:21 PM, Kostia Balytskyi wrote: > > On 21/03/2017 21:56, Augie Fackler wrote: > >> On Sat, Mar 11, 2017 at 01:00:26PM -0800, Kostia Balytskyi wrote: >>> # HG changeset patch >>> # User Kostia Balytskyi >>> # Date 1489250294 28800

Re: [PATCH 4 of 4 V2] obsolete: allow cycles

2017-03-26 Thread Augie Fackler
> On Mar 26, 2017, at 2:25 PM, Gregory Szorc wrote: > > It seems like we're shooting ourselves in the foot by consolidating all > markers into a single local store. Have we ever considered having a separate > store per remote or at least preserving the illusion of a

Re: [PATCH 4 of 4 V2] obsolete: allow cycles

2017-03-26 Thread Kostia Balytskyi
On 25/03/2017 08:20, Simon Farnsworth wrote: > On 23/03/2017 22:15, Jun Wu wrote: >> Excerpts from Augie Fackler's message of 2017-03-23 17:53:39 -0400: >>> On Wed, Mar 22, 2017 at 1:42 AM, Jun Wu wrote: > As for alternatives, a correct solution needs to refer to the marker it

[PATCH] metadataonlyctx: speed up sanity check

2017-03-26 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490556395 25200 # Sun Mar 26 12:26:35 2017 -0700 # Node ID 2793d297600133bb83a5d2f5a46bfa3fadd037ab # Parent b6766d75404fb8c5d26af016caa76f44b47ce156 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

Re: [PATCH] repair: use context manager for lock management

2017-03-26 Thread Matt Harbison
On Sun, 26 Mar 2017 13:34:10 -0400, Gregory Szorc wrote: On Sun, Mar 26, 2017 at 4:20 AM, Yuya Nishihara wrote: On Fri, 24 Mar 2017 23:34:28 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date

Re: [PATCH STABLE] changegroup: retry read() when partial data returned

2017-03-26 Thread Jun Wu
The direction looks good. I'd like to see more solid code. Commented below. Excerpts from Gregory Szorc's message of 2017-03-26 11:56:59 -0700: > +# Retry to get remaining data. In cases where the stream has errored or > +# is at EOF, this will do a bit of redundant work. But it helps

[PATCH STABLE] changegroup: retry read() when partial data returned

2017-03-26 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1490554582 25200 # Sun Mar 26 11:56:22 2017 -0700 # Branch stable # Node ID 414128ddd876eb33f70b0dd95d110e29a9308c93 # Parent ed5b25874d998ababb181a939dd37a16ea644435 changegroup: retry read() when partial data

Re: [PATCH 3 of 3] histedit: revive commits on demand

2017-03-26 Thread Jun Wu
Excerpts from Jun Wu's message of 2017-03-26 11:41:41 -0700: > # HG changeset patch > # User Jun Wu > # Date 1490552007 25200 > # Sun Mar 26 11:13:27 2017 -0700 > # Node ID b6766d75404fb8c5d26af016caa76f44b47ce156 > # Parent 336512ee2f947f07149e399a84927f9d820d2b62 > #

[PATCH 3 of 3] histedit: revive commits on demand

2017-03-26 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490552007 25200 # Sun Mar 26 11:13:27 2017 -0700 # Node ID b6766d75404fb8c5d26af016caa76f44b47ce156 # Parent 336512ee2f947f07149e399a84927f9d820d2b62 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 1 of 3] histedit: add a testcase showing the obsolete cycle issue

2017-03-26 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490548029 25200 # Sun Mar 26 10:07:09 2017 -0700 # Node ID 65636eb4a1e55f69daf6795a9ecad7a3da39108e # Parent e86eb75e74ce1b0803c26d86a229b9b711f6d76a # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 2 of 3] metadataonlyctx: make parents and text optional

2017-03-26 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490551051 25200 # Sun Mar 26 10:57:31 2017 -0700 # Node ID 336512ee2f947f07149e399a84927f9d820d2b62 # Parent 65636eb4a1e55f69daf6795a9ecad7a3da39108e # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

Re: [PATCH 4 of 4 V2] obsolete: allow cycles

2017-03-26 Thread Gregory Szorc
On Thu, Mar 23, 2017 at 6:29 PM, Jun Wu wrote: > Excerpts from Augie Fackler's message of 2017-03-23 20:59:03 -0400: > > > For clocks going backwards, we can detect that, say we get > > > maxdate = max(m.date for m in markers), then if we are going to write a > > > marker with date

Re: [PATCH 4 of 4] ui: rerun color.setup() once the pager has spawned to honor 'color.pagermode'

2017-03-26 Thread Matt Harbison
On Sun, 26 Mar 2017 10:44:01 -0400, Yuya Nishihara wrote: On Sun, 26 Mar 2017 00:41:07 -0400, Matt Harbison wrote: # HG changeset patch # User Matt Harbison # Date 1490483831 14400 # Sat Mar 25 19:17:11 2017 -0400 # Node ID

Re: [PATCH] repair: use context manager for lock management

2017-03-26 Thread Gregory Szorc
On Sun, Mar 26, 2017 at 4:20 AM, Yuya Nishihara wrote: > On Fri, 24 Mar 2017 23:34:28 -0400, Matt Harbison wrote: > > # HG changeset patch > > # User Matt Harbison > > # Date 1490327243 14400 > > # Thu Mar 23 23:47:23 2017 -0400 > > # Node ID

Re: [PATCH 2 of 4] color: stop mutating the default effects map

2017-03-26 Thread Matt Harbison
On Sun, 26 Mar 2017 10:35:34 -0400, Yuya Nishihara wrote: On Sun, 26 Mar 2017 00:41:05 -0400, Matt Harbison wrote: # HG changeset patch # User Matt Harbison # Date 1490464217 14400 # Sat Mar 25 13:50:17 2017 -0400 # Node ID

Re: GSoC 17: Release notes extension

2017-03-26 Thread Gregory Szorc
On Thu, Mar 23, 2017 at 10:02 PM, Martin von Zweigbergk < martinv...@google.com> wrote: > As an alternative to compiling the release notes from commit messages, we > could do what Git does, which is to keep a file per release > (Documentation/Relnotes/.txt in their case) that we update every >

Re: [PATCH 3 of 3] histedit: test that an aborted histedit can be rerun (with obsolete)

2017-03-26 Thread Jun Wu
I'm -1 on this series. If the goal is to workaround obsolete cycles, the code could do additional checks "if the destination is obsoleted" and do "hg touch"-like thing automatically. That workaround will be no longer necessary if my obsolete cycle patches are landed. Internally, we have several

Re: [PATCH] hardlink: check directory's st_dev instead of files

2017-03-26 Thread Jun Wu
Excerpts from Yuya Nishihara's message of 2017-03-26 20:50:06 +0900: > On Sat, 25 Mar 2017 13:58:33 -0700, Jun Wu wrote: > > # HG changeset patch > > # User Jun Wu > > # Date 1490475382 25200 > > # Sat Mar 25 13:56:22 2017 -0700 > > # Node ID

[PATCH 6 of 6 py3] test-check-py3-commands.t: add test to check `hg diff`

2017-03-26 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1490543035 -19800 # Sun Mar 26 21:13:55 2017 +0530 # Node ID 4c20946cc47f4f7e3c40fcfb56a2f6ce69984506 # Parent d0daada30518fb8fb12948c61e1eabb6494148cf test-check-py3-commands.t: add test to check `hg diff` `hg diff` now

[PATCH 1 of 6 py3] dispatch: use pycompat.maplist() instead of map() to get a list

2017-03-26 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1490541558 -19800 # Sun Mar 26 20:49:18 2017 +0530 # Node ID 2632df096fc0ac7582382b1f94ea4b9ad0bce8f2 # Parent e86eb75e74ce1b0803c26d86a229b9b711f6d76a dispatch: use pycompat.maplist() instead of map() to get a list diff

[PATCH 5 of 6 py3] test-check-py3-commands: cleanup tests related to `hg status`

2017-03-26 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1490542825 -19800 # Sun Mar 26 21:10:25 2017 +0530 # Node ID d0daada30518fb8fb12948c61e1eabb6494148cf # Parent ad78dfda4e5669df04ea6441740f60658c2668a7 test-check-py3-commands: cleanup tests related to `hg status` We

[PATCH 2 of 6 py3] diff: slice over bytes to make sure conditions work normally

2017-03-26 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1490541771 -19800 # Sun Mar 26 20:52:51 2017 +0530 # Node ID 989c6385adcc3385ab984a718e09fa5d694563c4 # Parent 2632df096fc0ac7582382b1f94ea4b9ad0bce8f2 diff: slice over bytes to make sure conditions work normally Both of

[PATCH 4 of 6 py3] diff: use pycompat.{byteskwargs, strkwargs} to switch opts b/w bytes and str

2017-03-26 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1490542101 -19800 # Sun Mar 26 20:58:21 2017 +0530 # Node ID ad78dfda4e5669df04ea6441740f60658c2668a7 # Parent bde955d3b6b93b57a0b8169dbe17b22979620c03 diff: use pycompat.{byteskwargs, strkwargs} to switch opts b/w bytes

[PATCH 3 of 6 py3] patch: make regular expressions bytes by adding b''

2017-03-26 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1490541890 -19800 # Sun Mar 26 20:54:50 2017 +0530 # Node ID bde955d3b6b93b57a0b8169dbe17b22979620c03 # Parent 989c6385adcc3385ab984a718e09fa5d694563c4 patch: make regular expressions bytes by adding b'' diff -r

Re: [PATCH 7 of 7] py3: prove second commit works

2017-03-26 Thread Pulkit Goyal
On Sun, Mar 26, 2017 at 5:29 PM, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1490523101 -32400 > # Sun Mar 26 19:11:41 2017 +0900 > # Node ID f7e37b9f1d231c1f9da91df7091040e44f33bba5 > # Parent

Re: [PATCH 1 of 4] color: fix grammar in help text

2017-03-26 Thread Yuya Nishihara
On Sun, 26 Mar 2017 00:41:04 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1490462963 14400 > # Sat Mar 25 13:29:23 2017 -0400 > # Node ID 22533c3af63d5a67d9210596eafd4b99ab9c7904 > # Parent

Re: [PATCH 3 of 4] ui: defer setting pager related properties until the pager has spawned

2017-03-26 Thread Yuya Nishihara
On Sun, 26 Mar 2017 00:41:06 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1490490720 14400 > # Sat Mar 25 21:12:00 2017 -0400 > # Node ID 84bda5db69dbe3d550f45ccd6d6eda2aad760ee4 > # Parent

Re: [PATCH 4 of 4] ui: rerun color.setup() once the pager has spawned to honor 'color.pagermode'

2017-03-26 Thread Yuya Nishihara
On Sun, 26 Mar 2017 00:41:07 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1490483831 14400 > # Sat Mar 25 19:17:11 2017 -0400 > # Node ID 4713a38672f2d0790477b6c22180bd453f61851d > # Parent

Re: [PATCH 2 of 4] color: stop mutating the default effects map

2017-03-26 Thread Yuya Nishihara
On Sun, 26 Mar 2017 00:41:05 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1490464217 14400 > # Sat Mar 25 13:50:17 2017 -0400 > # Node ID a263702b064a5a3ce1ca74b227e8e624e4b05874 > # Parent

Re: [PATCH 2 of 4] color: stop mutating the default effects map

2017-03-26 Thread Pierre-Yves David
On 03/26/2017 06:41 AM, Matt Harbison wrote: # HG changeset patch # User Matt Harbison # Date 1490464217 14400 # Sat Mar 25 13:50:17 2017 -0400 # Node ID a263702b064a5a3ce1ca74b227e8e624e4b05874 # Parent 22533c3af63d5a67d9210596eafd4b99ab9c7904 color: stop

Re: [PATCH 1 of 4] histedit: add a method to cleanup nodes safely

2017-03-26 Thread Pierre-Yves David
On 03/18/2017 03:51 AM, Jun Wu wrote: Excerpts from Yuya Nishihara's message of 2017-03-18 11:48:30 +0900: (+CC Pierre-Yves) I guess he may be busy with other stuffs. I was, but thanks for the CC anyway, I've spotted other issue with the series (I've CCed you both on the follow up)

[PATCH 2 of 3] histedit: backout changeset 6f0b7475cf9a

2017-03-26 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1490535969 -7200 # Sun Mar 26 15:46:09 2017 +0200 # Node ID 37931386562505e783e9c0b7f78287fabb71a7c2 # Parent 35acda0fd5f30f45a068320759b7eb3922c3ff19 # EXP-Topic backout-histedit # Available At

[PATCH 1 of 3] histedit: backout changeset 2b599f5468a4

2017-03-26 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1490535279 -7200 # Sun Mar 26 15:34:39 2017 +0200 # Node ID 35acda0fd5f30f45a068320759b7eb3922c3ff19 # Parent 91ddb33deea5b4813d4897f6860b00078afd3f19 # EXP-Topic backout-histedit # Available At

Re: [PATCH 3 of 4] templates: add "changeset.obsolete" label in command line style

2017-03-26 Thread Yuya Nishihara
On Sat, 25 Mar 2017 14:09:18 +0100, Denis Laxalde wrote: > # HG changeset patch > # User Denis Laxalde > # Date 1490434829 -3600 > # Sat Mar 25 10:40:29 2017 +0100 > # Node ID 94a70894c394268b845f427f7643738a70e336bb > # Parent c4c825f1402861e4b988395ac3deebcc6b5292cf > #

Re: [PATCH 2 of 4] templatekw: add an "obsolete" keyword

2017-03-26 Thread Yuya Nishihara
On Sat, 25 Mar 2017 14:09:17 +0100, Denis Laxalde wrote: > # HG changeset patch > # User Denis Laxalde > # Date 1490434451 -3600 > # Sat Mar 25 10:34:11 2017 +0100 > # Node ID c4c825f1402861e4b988395ac3deebcc6b5292cf > # Parent 130358da2eb894aa04e3bb731d0ccae84205c2ba > #

Re: [PATCH 4 of 4] summary: display obsolete state of parents

2017-03-26 Thread Yuya Nishihara
On Sat, 25 Mar 2017 14:09:19 +0100, Denis Laxalde wrote: > # HG changeset patch > # User Denis Laxalde > # Date 1490437808 -3600 > # Sat Mar 25 11:30:08 2017 +0100 > # Node ID af7190c42c1cd6ba16a9bd83ad54208d89f343fe > # Parent 94a70894c394268b845f427f7643738a70e336bb > #

[PATCH 5 of 7] py3: fix manifestdict.fastdelta() to be compatible with memoryview

2017-03-26 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1490522808 -32400 # Sun Mar 26 19:06:48 2017 +0900 # Node ID 5e8e48cb4f83a583515b4caaf97045b86747c499 # Parent 435eb9e60147c1cfac43b204b637b8ac8d4830c0 py3: fix manifestdict.fastdelta() to be compatible with memoryview This

[PATCH 4 of 7] py3: fix slicing of byte string in revlog.compress()

2017-03-26 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1490515926 -32400 # Sun Mar 26 17:12:06 2017 +0900 # Node ID 435eb9e60147c1cfac43b204b637b8ac8d4830c0 # Parent ea2d8321f3209e5b817353e2e15f7ba6b1b472a5 py3: fix slicing of byte string in revlog.compress() I tried

[PATCH 3 of 7] py3: use bytes() to cast to immutable bytes in changelog.appender.write()

2017-03-26 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1490513461 -32400 # Sun Mar 26 16:31:01 2017 +0900 # Node ID ea2d8321f3209e5b817353e2e15f7ba6b1b472a5 # Parent 662b30cb4977b4f6fcf56e768ef1c7c5da8e8adc py3: use bytes() to cast to immutable bytes in changelog.appender.write()

[PATCH 7 of 7] py3: prove second commit works

2017-03-26 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1490523101 -32400 # Sun Mar 26 19:11:41 2017 +0900 # Node ID f7e37b9f1d231c1f9da91df7091040e44f33bba5 # Parent c00753c42a0b04dc72ed831a87945f1eb41c84c1 py3: prove second commit works Finally it works. diff --git

[PATCH 6 of 7] py3: abuse r'' to preserve str-ness of literals passed to __setattr__()

2017-03-26 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1490513592 -32400 # Sun Mar 26 16:33:12 2017 +0900 # Node ID c00753c42a0b04dc72ed831a87945f1eb41c84c1 # Parent 5e8e48cb4f83a583515b4caaf97045b86747c499 py3: abuse r'' to preserve str-ness of literals passed to __setattr__()

[PATCH 2 of 7] py3: use bytes() to cast to immutable bytes in pure.bdiff.bdiff()

2017-03-26 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1490512605 -32400 # Sun Mar 26 16:16:45 2017 +0900 # Node ID 662b30cb4977b4f6fcf56e768ef1c7c5da8e8adc # Parent 3bb6534a49672073885c64a7a75a8ef5bb26f381 py3: use bytes() to cast to immutable bytes in pure.bdiff.bdiff() diff

[PATCH 1 of 7] bdiff: drop support for array.array argument from pure.bdiff.bdiff()

2017-03-26 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1490512444 -32400 # Sun Mar 26 16:14:04 2017 +0900 # Node ID 3bb6534a49672073885c64a7a75a8ef5bb26f381 # Parent c60091fa1426892552dd6c0dd4b9c49e3c3da045 bdiff: drop support for array.array argument from pure.bdiff.bdiff()

Re: [PATCH] hardlink: check directory's st_dev instead of files

2017-03-26 Thread Yuya Nishihara
On Sat, 25 Mar 2017 13:58:33 -0700, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1490475382 25200 > # Sat Mar 25 13:56:22 2017 -0700 > # Node ID b288a611eff957d3f03b06c419c16721f4fb5016 > # Parent c60091fa1426892552dd6c0dd4b9c49e3c3da045 > # Available At

Re: [PATCH] gitweb: use monospace font for commit messages

2017-03-26 Thread Yuya Nishihara
On Fri, 24 Mar 2017 19:52:59 -0700, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1490410363 25200 > # Fri Mar 24 19:52:43 2017 -0700 > # Node ID 263ba0659a79f434eb57ebd1d94ffdf9828b17eb > # Parent

Re: [PATCH] statfs: detect more filesystems on Linux

2017-03-26 Thread Yuya Nishihara
On Sat, 25 Mar 2017 13:06:53 -0700, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1490471935 25200 > # Sat Mar 25 12:58:55 2017 -0700 > # Node ID 99337cfe021d5222a9420ae0d7e9b29c2d03573b > # Parent c60091fa1426892552dd6c0dd4b9c49e3c3da045 > # Available At

Re: [PATCH] repair: use context manager for lock management

2017-03-26 Thread Yuya Nishihara
On Fri, 24 Mar 2017 23:34:28 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1490327243 14400 > # Thu Mar 23 23:47:23 2017 -0400 > # Node ID c053dc8a24afad24872397e5cd3f57411fc7d172 > # Parent

Re: [PATCH 04 of 10 shelve-ext v4] shelve: move node-pruning functionality to be member of shelvedstate

2017-03-26 Thread Kostia Balytskyi
On 21/03/2017 21:57, Augie Fackler wrote: > On Sat, Mar 11, 2017 at 01:00:23PM -0800, Kostia Balytskyi wrote: >> # HG changeset patch >> # User Kostia Balytskyi >> # Date 1489191652 28800 >> # Fri Mar 10 16:20:52 2017 -0800 >> # Node ID