Re: [PATCH] posix: give the cached symlink a real target

2016-11-30 Thread Jun Wu
Looks good to me. Thanks for the fix! A small nit inline - probably could be fixed on flight. Excerpts from Martijn Pieters's message of 2016-11-30 16:51:41 +: > # HG changeset patch > # User Martijn Pieters > # Date 1480523976 0 > # Wed Nov 30 16:39:36 2016 + > #

Re: [PATCH 3 of 3] revset: add a changes(file, fromline, toline[, rev]) revset

2016-11-30 Thread Yuya Nishihara
On Mon, 28 Nov 2016 11:12:35 +0100, Denis Laxalde wrote: > Denis Laxalde a écrit : > > # HG changeset patch > > # User Denis Laxalde > > # Date 1480086890 -3600 > > # Fri Nov 25 16:14:50 2016 +0100 > > # Node ID e88a112076294d9b1639a486e7ef0ec9c1ffa660 > > # Parent

Re: [PATCH 2 of 3] context: add a `blockancestors(fromline, toline)` method to filectx

2016-11-30 Thread Yuya Nishihara
On Mon, 28 Nov 2016 10:54:15 +0100, Denis Laxalde wrote: > # HG changeset patch > # User Denis Laxalde > # Date 1480086869 -3600 > # Fri Nov 25 16:14:29 2016 +0100 > # Node ID 6dd93ae7b35002531308444c87dcf47beb773648 > # Parent 0cf70234a38e47a3f7107611885368db9d52f574 > #

Re: [PATCH 1 of 3] mdiff: add a "blocksinrange" function to filter diff blocks by line range

2016-11-30 Thread Yuya Nishihara
On Mon, 28 Nov 2016 10:54:14 +0100, Denis Laxalde wrote: > # HG changeset patch > # User Denis Laxalde > # Date 1476279051 -7200 > # Wed Oct 12 15:30:51 2016 +0200 > # Node ID 0cf70234a38e47a3f7107611885368db9d52f574 > # Parent

Re: [PATCH 3 of 3] patchbomb: make --git-format-patch imply --plain

2016-11-30 Thread Henning Schild
Am Thu, 24 Nov 2016 15:42:58 + schrieb Jun Wu : > What do you think about Sean's idea mentioned earlier? Implement the > logic in the hg-git extension. And let the hg-git extension check if > the repo is a hg-git repo or not. We can also have a boolean > repo-level config

[PATCH 1 of 2 V2] tests: replace "cp -r" with "cp -R"

2016-11-30 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1480533918 0 # Wed Nov 30 19:25:18 2016 + # Node ID 830986c78bb9697057768d64c8556d1dc03c0674 # Parent 9e29d4e4e08b5996adda49cdd0b497d89e2b16ee # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 2 of 2 V2] check-code: add a rule to forbid "cp -r"

2016-11-30 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1480533784 0 # Wed Nov 30 19:23:04 2016 + # Node ID ff3e01283fa1843920ad63dc1ff7bc6b0a4dbccb # Parent 830986c78bb9697057768d64c8556d1dc03c0674 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

Re: [PATCH 1 of 2] tests: use cp -R instead of cp -r

2016-11-30 Thread Danek Duvall
Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1480526736 0 > # Wed Nov 30 17:25:36 2016 + > # Node ID a4f46a03e5f8e33f32c36326c6b14b84d9cb03b4 > # Parent 9e29d4e4e08b5996adda49cdd0b497d89e2b16ee > # Available At https://bitbucket.org/quark-zju/hg-draft > #

[PATCH 2 of 2] check-code: add a rule to forbid "cp -r"

2016-11-30 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1480526607 0 # Wed Nov 30 17:23:27 2016 + # Node ID e5e4723e0a563f8cd7c00de1986635a5d1e9d8d1 # Parent a4f46a03e5f8e33f32c36326c6b14b84d9cb03b4 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 1 of 2] tests: use cp -R instead of cp -r

2016-11-30 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1480526736 0 # Wed Nov 30 17:25:36 2016 + # Node ID a4f46a03e5f8e33f32c36326c6b14b84d9cb03b4 # Parent 9e29d4e4e08b5996adda49cdd0b497d89e2b16ee # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

Re: [PATCH 1 of 2] tests: use cp -R instead of cp -r

2016-11-30 Thread Jun Wu
Excerpts from Danek Duvall's message of 2016-11-30 09:51:11 -0800: > Jun Wu wrote: > > > # HG changeset patch > > # User Jun Wu > > # Date 1480526736 0 > > # Wed Nov 30 17:25:36 2016 + > > # Node ID a4f46a03e5f8e33f32c36326c6b14b84d9cb03b4 > > # Parent

Re: [PATCH 7 of 7] py3: use encoding.environ in ui.py

2016-11-30 Thread Pulkit Goyal
Can you elaborate on how we can use ui.environ because I will like to change all os.environ things because they are source of errors on Python 3. On Sat, Nov 5, 2016 at 7:05 AM, Yuya Nishihara wrote: > On Sat, 5 Nov 2016 06:02:52 +0530, Pulkit Goyal wrote: >> On Thu, Nov 3, 2016

Re: [PATCH 1 of 2] tests: use cp -R instead of cp -r

2016-11-30 Thread Danek Duvall
Jun Wu wrote: > Excerpts from Danek Duvall's message of 2016-11-30 09:51:11 -0800: > > Jun Wu wrote: > > > > > # HG changeset patch > > > # User Jun Wu > > > # Date 1480526736 0 > > > # Wed Nov 30 17:25:36 2016 + > > > # Node ID a4f46a03e5f8e33f32c36326c6b14b84d9cb03b4 >

Re: [PATCH 3 of 3] patchbomb: make --git-format-patch imply --plain

2016-11-30 Thread Sean Farley
Henning Schild writes: > Am Thu, 24 Nov 2016 15:42:58 + > schrieb Jun Wu : > >> What do you think about Sean's idea mentioned earlier? Implement the >> logic in the hg-git extension. And let the hg-git extension check if >> the repo is a hg-git repo or not.

Re: [PATCH 1 of 2] tests: use cp -R instead of cp -r

2016-11-30 Thread Kostia Balytskyi
Good catch! On 11/30/16 5:34 PM, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1480526736 0 > # Wed Nov 30 17:25:36 2016 + > # Node ID a4f46a03e5f8e33f32c36326c6b14b84d9cb03b4 > # Parent 9e29d4e4e08b5996adda49cdd0b497d89e2b16ee > # Available At

Re: [PATCH 1 of 2] tests: use cp -R instead of cp -r

2016-11-30 Thread Jun Wu
Excerpts from Danek Duvall's message of 2016-11-30 10:35:47 -0800: > Jun Wu wrote: > > > Excerpts from Danek Duvall's message of 2016-11-30 09:51:11 -0800: > > > Jun Wu wrote: > > > > > > > # HG changeset patch > > > > # User Jun Wu > > > > # Date 1480526736 0 > > > > # Wed

Re: [PATCH 3 of 3] patchbomb: make --git-format-patch imply --plain

2016-11-30 Thread Henning Schild
Am Wed, 30 Nov 2016 11:17:02 -0800 schrieb Sean Farley : > Henning Schild writes: > > > Am Thu, 24 Nov 2016 15:42:58 + > > schrieb Jun Wu : > > > >> What do you think about Sean's idea mentioned earlier? Implement > >> the logic in the

Re: [PATCH evolve-ext] wireproto: chunking and compression is forthwith to be handled by hgweb

2016-11-30 Thread Martijn Pieters
On 29 November 2016 at 23:23, Kostia Balytskyi wrote: > > This looks good to me, although I would maybe perform a more thorough check than just catching a TypeError. For example, something like check: > if “v1compressible” in wireproto.streamres.__init__.__code__.co_varnames:

Re: mercurial@30541: 92 new changesets

2016-11-30 Thread Martijn Pieters
On 29 November 2016 at 15:52, Kostia Balytskyi wrote: > Commit above breaks every command invocation in hg: > /data/users/ikostia/hgcommitted$ ./hg summary > hg: unknown command 'debugindex' > (did you mean one of bundle, debugdirstate, debuginstall, debugpvec, > debugrename,

Re: [PATCH V2 evolve-ext] wireproto: chunking and compression is forthwith to be handled by hgweb

2016-11-30 Thread Kostia Balytskyi
This looks good to me. On 11/30/16, 11:26 AM, "Mercurial-devel on behalf of Martijn Pieters" wrote: # HG changeset patch # User Martijn Pieters # Date 1480504675 0 # Wed Nov 30

[Bug 5435] New: `hg histedit` + evolve should warn/refuse when not on a head

2016-11-30 Thread bugzilla
https://bz.mercurial-scm.org/show_bug.cgi?id=5435 Bug ID: 5435 Summary: `hg histedit` + evolve should warn/refuse when not on a head Product: Mercurial Version: default branch Hardware: PC OS: Linux

Re: [PATCH 09 of 10 shelve-ext] shelve: add obs-based unshelve functionality

2016-11-30 Thread Kostia Balytskyi
Replying one more time to make stuff readable. On 11/30/16 1:46 PM, Kostia Balytskyi wrote: From: Martin von Zweigbergk Date: Wednesday, November 30, 2016 at 6:24 AM To: Kostia Balytskyi ,

Re: hard and soft links

2016-11-30 Thread Uwe Brauer
> On 11/24/2016 04:56 AM, Uwe Brauer wrote: > I'm unclear on what you want to have happen. dir1 and dir2 are > checkouts of the same repo? If you want their contents to be > identical, why not symlink dir2 to dir1? If you want the contents to > be different, then why link an

Re: [PATCH 09 of 10 shelve-ext] shelve: add obs-based unshelve functionality

2016-11-30 Thread Kostia Balytskyi
From: Martin von Zweigbergk Date: Wednesday, November 30, 2016 at 6:24 AM To: Kostia Balytskyi , "mercurial-devel@mercurial-scm.org" Subject: Re: [PATCH 09 of 10 shelve-ext] shelve: add obs-based unshelve functionality

Re: [PATCH 3 of 5 v4] revlog: pass flags to addrevision

2016-11-30 Thread Martin von Zweigbergk via Mercurial-devel
On Nov 30, 2016 04:19, "Rémi Chaintron" wrote: Looking at the code in narrowrevlog.py on bitbucket, it looks like a good use case to use the new flag processor method to bypass checkhash. Would you be interested in discussing this approach / what your needs are? Oh,