Re: [PATCH stable] tests: use an absolute path to get around '..' being invalid on a dead CWD

2017-01-19 Thread Augie Fackler
> On Jan 19, 2017, at 4:44 PM, Sean Farley wrote: > > I guess so ... crazy freebsd. I had another thought on the way home: this might only be a problem in a jail - it’s not the first bit of strange behavior we’ve caught with hg when running in my buildbot-in-a-jail. In any event, I think thi

Re: [PATCH STABLE] pager: wrap _runcommand() no matter if stdout is redirected

2017-01-19 Thread Augie Fackler
On Thu, Jan 19, 2017 at 11:39:24PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1484834492 -32400 > # Thu Jan 19 23:01:32 2017 +0900 > # Branch stable > # Node ID f3ca8b7e0e2df7507661adf5957c51e39bc6b5b1 > # Parent 262c2be8ea5a4f36fb7348cb5a940cf78f2df

Re: [PATCH shelve-ext] shelve: make unshelve not crash when there are missing files (issue4176)

2017-01-19 Thread Augie Fackler
On Thu, Jan 19, 2017 at 09:51:24AM -0800, Kostia Balytskyi wrote: > # HG changeset patch > # User Kostia Balytskyi > # Date 1484848120 28800 > # Thu Jan 19 09:48:40 2017 -0800 > # Node ID 2a1e998e369d2c5dc828ba805beceb15459746cd > # Parent 9f264adbe75bfae8551dc0e6e0fce8d43fc7b43a > shelve: m

Re: [PATCH stable] tests: use an absolute path to get around '..' being invalid on a dead CWD

2017-01-19 Thread Sean Farley
Augie Fackler writes: > # HG changeset patch > # User Augie Fackler > # Date 1484861029 18000 > # Thu Jan 19 16:23:49 2017 -0500 > # Branch stable > # Node ID 34923f3f218573ec57575f4ae59cb4198cc6a313 > # Parent b3d2e8cce78c04dbf6f20f0846b6ea8b622983c4 > tests: use an absolute path to get a

[PATCH stable] tests: use an absolute path to get around '..' being invalid on a dead CWD

2017-01-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1484861029 18000 # Thu Jan 19 16:23:49 2017 -0500 # Branch stable # Node ID 34923f3f218573ec57575f4ae59cb4198cc6a313 # Parent b3d2e8cce78c04dbf6f20f0846b6ea8b622983c4 tests: use an absolute path to get around '..' being invalid on a dead CWD

Re: [PATCH shelve-ext] shelve: make unshelve not crash when there are missing files (issue4176)

2017-01-19 Thread Sean Farley
Kostia Balytskyi writes: > # HG changeset patch > # User Kostia Balytskyi > # Date 1484848120 28800 > # Thu Jan 19 09:48:40 2017 -0800 > # Node ID 2a1e998e369d2c5dc828ba805beceb15459746cd > # Parent 9f264adbe75bfae8551dc0e6e0fce8d43fc7b43a > shelve: make unshelve not crash when there are m

Re: [PATCH v9 RFC] scmutil: add a simple key-value file helper

2017-01-19 Thread Sean Farley
Kostia Balytskyi writes: > # HG changeset patch > # User Kostia Balytskyi > # Date 1484824655 28800 > # Thu Jan 19 03:17:35 2017 -0800 > # Node ID 19a449c91ef14e691cf1347748473e0094fedc86 > # Parent 9f264adbe75bfae8551dc0e6e0fce8d43fc7b43a > scmutil: add a simple key-value file helper > >

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

2017-01-19 Thread Sean Farley
Kostia Balytskyi writes: > # HG changeset patch > # User Kostia Balytskyi > # Date 1484835841 28800 > # Thu Jan 19 06:24:01 2017 -0800 > # Node ID d904df83e9ead56f65104e10d765c0157d647401 > # Parent 19a449c91ef14e691cf1347748473e0094fedc86 > shelve: add an ability to write key-val data to

Re: [PATCH 1 of 5] pager: stdout is line buffered by default

2017-01-19 Thread Martin von Zweigbergk via Mercurial-devel
On Thu, Jan 19, 2017 at 11:02 AM, Simon Farnsworth wrote: > # HG changeset patch > # User Simon Farnsworth > # Date 1484835774 28800 > # Thu Jan 19 06:22:54 2017 -0800 > # Node ID 76123ae2e0ccaa58db3d4fc26b75b7251e13ad16 > # Parent 036c37bd3ec189480647ff568cee9e0b43a5bc81 > pager: stdout is

Re: [PATCH 4 of 5] ui: log time spent blocked on the user

2017-01-19 Thread Sean Farley
Simon Farnsworth writes: > # HG changeset patch > # User Simon Farnsworth > # Date 1484842917 28800 > # Thu Jan 19 08:21:57 2017 -0800 > # Node ID 93221dde2fad942c4f920dab1f346da71ac8033d > # Parent e8cd90ea5d3eee923304c64a19c3be9bce50451c > ui: log time spent blocked on the user > > We us

[PATCH 2 of 5] pager: don't terminate with extreme prejudice on SIGPIPE (BC)

2017-01-19 Thread Simon Farnsworth
# HG changeset patch # User Simon Farnsworth # Date 1484836838 28800 # Thu Jan 19 06:40:38 2017 -0800 # Node ID d444a9f4d468b7a0705d48b2f4f84c7bd44b6c74 # Parent 76123ae2e0ccaa58db3d4fc26b75b7251e13ad16 pager: don't terminate with extreme prejudice on SIGPIPE (BC) The default SIGPIPE handle

[PATCH 1 of 5] pager: stdout is line buffered by default

2017-01-19 Thread Simon Farnsworth
# HG changeset patch # User Simon Farnsworth # Date 1484835774 28800 # Thu Jan 19 06:22:54 2017 -0800 # Node ID 76123ae2e0ccaa58db3d4fc26b75b7251e13ad16 # Parent 036c37bd3ec189480647ff568cee9e0b43a5bc81 pager: stdout is line buffered by default pager only starts when ui.formatted() is true.

[PATCH 5 of 5] crecord: log blocked time waiting for curses input

2017-01-19 Thread Simon Farnsworth
# HG changeset patch # User Simon Farnsworth # Date 1484850980 28800 # Thu Jan 19 10:36:20 2017 -0800 # Node ID 9684b31c29f3f17096ead595fef50b687d518b1c # Parent 93221dde2fad942c4f920dab1f346da71ac8033d crecord: log blocked time waiting for curses input We want to know when we're blocked on

[PATCH 4 of 5] ui: log time spent blocked on the user

2017-01-19 Thread Simon Farnsworth
# HG changeset patch # User Simon Farnsworth # Date 1484842917 28800 # Thu Jan 19 08:21:57 2017 -0800 # Node ID 93221dde2fad942c4f920dab1f346da71ac8033d # Parent e8cd90ea5d3eee923304c64a19c3be9bce50451c ui: log time spent blocked on the user We use a wrapper around Mercurial at Facebook tha

[PATCH 3 of 5] util: add an elapsed time wrapper

2017-01-19 Thread Simon Farnsworth
# HG changeset patch # User Simon Farnsworth # Date 1484849321 28800 # Thu Jan 19 10:08:41 2017 -0800 # Node ID e8cd90ea5d3eee923304c64a19c3be9bce50451c # Parent d444a9f4d468b7a0705d48b2f4f84c7bd44b6c74 util: add an elapsed time wrapper We want to log the time spent in various commands. Add

[Bug 5469] New: Add arguments to narrow the results of hg resolve --list

2017-01-19 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5469 Bug ID: 5469 Summary: Add arguments to narrow the results of hg resolve --list Product: Mercurial Version: stable branch Hardware: PC OS: Mac OS

Re: [PATCH STABLE] pager: wrap _runcommand() no matter if stdout is redirected

2017-01-19 Thread Sean Farley
Yuya Nishihara writes: > # HG changeset patch > # User Yuya Nishihara > # Date 1484834492 -32400 > # Thu Jan 19 23:01:32 2017 +0900 > # Branch stable > # Node ID f3ca8b7e0e2df7507661adf5957c51e39bc6b5b1 > # Parent 262c2be8ea5a4f36fb7348cb5a940cf78f2dffa9 > pager: wrap _runcommand() no matt

Re: [PATCH] ui: rename tmpdir parameter to more specific repopath

2017-01-19 Thread Sean Farley
Yuya Nishihara writes: > On Wed, 18 Jan 2017 18:38:54 -0800, Sean Farley wrote: >> # HG changeset patch >> # User Sean Farley >> # Date 1484792751 28800 >> # Wed Jan 18 18:25:51 2017 -0800 >> # Branch stable >> # Node ID 41d220e2bed95664c335f6a7ef70b8ce06dca86c >> # Parent 94af7d0c812fe7d3

[PATCH shelve-ext] shelve: make unshelve not crash when there are missing files (issue4176)

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1484848120 28800 # Thu Jan 19 09:48:40 2017 -0800 # Node ID 2a1e998e369d2c5dc828ba805beceb15459746cd # Parent 9f264adbe75bfae8551dc0e6e0fce8d43fc7b43a shelve: make unshelve not crash when there are missing files (issue4176) This patch make

mercurial@30844: 2 new changesets (2 on stable)

2017-01-19 Thread Mercurial Commits
2 new changesets (2 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/2fb3ae89e4e1 changeset: 30843:2fb3ae89e4e1 branch: stable user:Augie Fackler date:Wed Jan 18 23:34:35 2017 -0500 summary: contrib: fix check-commit to not reject commits from `hg sign

[PATCH 02 of 10 shelve-ext v2] shelve: rename stripnodes to nodestoprune

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1484740179 28800 # Wed Jan 18 03:49:39 2017 -0800 # Node ID 155f97b77a4866075fa709daa3bef6dac9108e81 # Parent d904df83e9ead56f65104e10d765c0157d647401 shelve: rename stripnodes to nodestoprune Since we are introducing obs-based shelve, we

[PATCH 03 of 10 shelve-ext v2] shelve: move node-pruning functionality to be member of shelvedstate

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1484740179 28800 # Wed Jan 18 03:49:39 2017 -0800 # Node ID 249273f6db8bf0fdfbbf36bcbd9e3553e5715212 # Parent 155f97b77a4866075fa709daa3bef6dac9108e81 shelve: move node-pruning functionality to be member of shelvedstate Node-pruning can be

[PATCH 06 of 10 shelve-ext v2] shelve: add shelve type saving and loading

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1484740179 28800 # Wed Jan 18 03:49:39 2017 -0800 # Node ID 149fc6d767ce3502528b43b0e209eb411dd6e842 # Parent 44425c4e86b2589184e23bed798999c15788b54b shelve: add shelve type saving and loading We need shelve type to be stored in .hg/shelv

[PATCH 10 of 10 shelve-ext v2] shelve: disable inhibit for shelving period

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1484838335 28800 # Thu Jan 19 07:05:35 2017 -0800 # Node ID 6a7e7659886d35dfdc4d7d5efb3ef8479ae35367 # Parent 088c9191d662d5c0003310119c51540926a815f7 shelve: disable inhibit for shelving period While shelving, we're creating a new commit

[PATCH 07 of 10 shelve-ext v2] shelve: migrate config overrides to ui.configoverride

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1484740179 28800 # Wed Jan 18 03:49:39 2017 -0800 # Node ID abdf9565fdce15604ea4abf013cb7c98a11f70ca # Parent 149fc6d767ce3502528b43b0e209eb411dd6e842 shelve: migrate config overrides to ui.configoverride This patch also makes ui.quiet man

[PATCH 05 of 10 shelve-ext v2] shelve: add obs-based shelve functionality

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1484740179 28800 # Wed Jan 18 03:49:39 2017 -0800 # Node ID 44425c4e86b2589184e23bed798999c15788b54b # Parent ceb709491816f84789b77a18bfcab15eaa9860fe shelve: add obs-based shelve functionality Obsolescense-based shelve works in a followin

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

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1484740179 28800 # Wed Jan 18 03:49:39 2017 -0800 # Node ID 088c9191d662d5c0003310119c51540926a815f7 # Parent 94a237a046059ef246aacb2c3ad809c9f0bdbe70 shelve: add logic to preserve active bookmarks This adds an explicit active-bookmark-han

[PATCH 08 of 10 shelve-ext v2] shelve: add obs-based unshelve functionality

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1484835394 28800 # Thu Jan 19 06:16:34 2017 -0800 # Node ID 94a237a046059ef246aacb2c3ad809c9f0bdbe70 # Parent abdf9565fdce15604ea4abf013cb7c98a11f70ca shelve: add obs-based unshelve functionality Obsolescense-based unshelve works as follow

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

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1484835841 28800 # Thu Jan 19 06:24:01 2017 -0800 # Node ID d904df83e9ead56f65104e10d765c0157d647401 # Parent 19a449c91ef14e691cf1347748473e0094fedc86 shelve: add an ability to write key-val data to a new type of shelve files Obsolescense-

[PATCH 04 of 10 shelve-ext v2] shelve: add a function to check whether obs-based shelve is enabled

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1484740179 28800 # Wed Jan 18 03:49:39 2017 -0800 # Node ID ceb709491816f84789b77a18bfcab15eaa9860fe # Parent 249273f6db8bf0fdfbbf36bcbd9e3553e5715212 shelve: add a function to check whether obs-based shelve is enabled A central place to c

Re: [PATCH 2 of 2 V2] templater: add '{envvars}' to access environment variables

2017-01-19 Thread Yuya Nishihara
On Wed, 18 Jan 2017 21:39:47 -0500, Matt Harbison wrote: > On Wed, 18 Jan 2017 08:44:55 -0500, Yuya Nishihara wrote: > > > On Tue, 17 Jan 2017 23:50:47 -0500, Matt Harbison wrote: > >> # HG changeset patch > >> # User Matt Harbison > >> # Date 1484712774 18000 > >> # Tue Jan 17 23:12:54 201

Re: [PATCH 1 of 2 V2] ui: introduce an experimental dict of exportable environment variables

2017-01-19 Thread Yuya Nishihara
On Wed, 18 Jan 2017 21:32:34 -0500, Matt Harbison wrote: > On Wed, 18 Jan 2017 08:52:43 -0500, Yuya Nishihara wrote: > > On Tue, 17 Jan 2017 23:50:46 -0500, Matt Harbison wrote: > >> # HG changeset patch > >> # User Matt Harbison > >> # Date 1484712312 18000 > >> # Tue Jan 17 23:05:12 2017 -

[PATCH STABLE] pager: wrap _runcommand() no matter if stdout is redirected

2017-01-19 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1484834492 -32400 # Thu Jan 19 23:01:32 2017 +0900 # Branch stable # Node ID f3ca8b7e0e2df7507661adf5957c51e39bc6b5b1 # Parent 262c2be8ea5a4f36fb7348cb5a940cf78f2dffa9 pager: wrap _runcommand() no matter if stdout is redirected We've made ch

Re: [PATCH] ui: rename tmpdir parameter to more specific repopath

2017-01-19 Thread Yuya Nishihara
On Wed, 18 Jan 2017 18:38:54 -0800, Sean Farley wrote: > # HG changeset patch > # User Sean Farley > # Date 1484792751 28800 > # Wed Jan 18 18:25:51 2017 -0800 > # Branch stable > # Node ID 41d220e2bed95664c335f6a7ef70b8ce06dca86c > # Parent 94af7d0c812fe7d3a5651191685ca43e1a331814 > ui: ren

Re: [PATCH STABLE] statprof: require input file

2017-01-19 Thread Yuya Nishihara
On Wed, 18 Jan 2017 23:11:44 -0800, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1484808307 28800 > # Wed Jan 18 22:45:07 2017 -0800 > # Branch stable > # Node ID c148ef85245edba14eff9219e0404fc832c8305c > # Parent 94af7d0c812fe7d3a5651191685ca43e1a331814 > sta

[PATCH v9 RFC] scmutil: add a simple key-value file helper

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1484824655 28800 # Thu Jan 19 03:17:35 2017 -0800 # Node ID 19a449c91ef14e691cf1347748473e0094fedc86 # Parent 9f264adbe75bfae8551dc0e6e0fce8d43fc7b43a scmutil: add a simple key-value file helper The purpose of the added class is to serve p