guess the file mode on disk?
Does anybody use “hg debugrebuilddirstate” as a method of dirstate population?
I’ve only seen it used
as a method of the whole dirstate invalidation.
Best,
Mateusz
On 8/31/16, 2:55 PM, "Yuya Nishihara" wrote:
On Tue, 30 Aug 2016 21:34:01 +0000, Mateu
Yeah, the V2 is good to go.
On 9/29/16, 4:25 PM, "Yuya Nishihara" wrote:
On Tue, 27 Sep 2016 14:06:24 +0000, Mateusz Kwapich wrote:
> On rebuild all the files are set to match the files in the revision but
the revision doesn’t provide
> us the correct mtimes to set
# HG changeset patch
# User Mateusz Kwapich
# Date 1475942045 25200
# Sat Oct 08 08:54:05 2016 -0700
# Node ID 086b25d1866e33fb7ebbe6c51522e6b573e281e2
# Parent 225efa4bf7f497e55f0ba57f64a33dce39eaeb29
py3: make encodefun in store.py compatible with py3k
This ensures that the filename
# HG changeset patch
# User Mateusz Kwapich
# Date 1475941528 25200
# Sat Oct 08 08:45:28 2016 -0700
# Node ID 225efa4bf7f497e55f0ba57f64a33dce39eaeb29
# Parent 8f34e217338be6a1b997807521e95f9f7409d722
py3: make the string unicode so its iterable in py3k
diff --git a/mercurial/store.py b
# HG changeset patch
# User Mateusz Kwapich
# Date 1475944606 25200
# Sat Oct 08 09:36:46 2016 -0700
# Node ID 18cee0bbfd402a5005b286b723a6a495bf86a165
# Parent 02795fabd7daf1b35b4d36de3dbca16e55a63451
py3: revset - change iteritems to items
If we'll ever have so many revset predicat
# HG changeset patch
# User Mateusz Kwapich
# Date 1476018084 25200
# Sun Oct 09 06:01:24 2016 -0700
# Node ID 801817b85eb04a7d6c9d211b2a34d7e140ce8ecb
# Parent da08f4707282747cef3619341e07bd492470f41e
store: get rid of dict comprehension for py2.6 compat
That's my bad. Let's ch
# HG changeset patch
# User Mateusz Kwapich
# Date 1476021167 25200
# Sun Oct 09 06:52:47 2016 -0700
# Node ID e83253287478676052e7713390983082d04afc6c
# Parent 09060ee32a5cd51cdcfa42b23312ca17a11fc713
py3: convert: user raw strings in all lines
diff --git a/hgext/convert/subversion.py b
# HG changeset patch
# User Mateusz Kwapich
# Date 1476020659 25200
# Sun Oct 09 06:44:19 2016 -0700
# Node ID 9be0fc83663857b8843a781b6418a42fa0b15c65
# Parent e998d6ca8cc7d27a4dd84e92d2bc0683a96c4d93
pywatchman: alphabetize imports
diff --git a/hgext/fsmonitor/pywatchman/__init__.py
b
# HG changeset patch
# User Mateusz Kwapich
# Date 1476020560 25200
# Sun Oct 09 06:42:40 2016 -0700
# Node ID e998d6ca8cc7d27a4dd84e92d2bc0683a96c4d93
# Parent da08f4707282747cef3619341e07bd492470f41e
py3: migrate pywatchman to absolute_import
diff --git a/hgext/fsmonitor/pywatchman
# HG changeset patch
# User Mateusz Kwapich
# Date 1476021128 25200
# Sun Oct 09 06:52:08 2016 -0700
# Node ID 09060ee32a5cd51cdcfa42b23312ca17a11fc713
# Parent dd705da68bdc7e52ca7a06e92e0fb6e74af6647b
py3: journal: namedtuple takes unicode
consistent namedtuple usage in changelog.py:141
# HG changeset patch
# User Mateusz Kwapich
# Date 1476021239 25200
# Sun Oct 09 06:53:59 2016 -0700
# Node ID dd705da68bdc7e52ca7a06e92e0fb6e74af6647b
# Parent 9be0fc83663857b8843a781b6418a42fa0b15c65
py3: slots should be unicode strings (pywatchman)
like in mercurial/util.py:566
diff
ve
already worked on it and will be sending a pull request to Mercurial
soon. https://github.com/facebook/watchman/pull/247
On Sun, Oct 9, 2016 at 3:55 PM, Mateusz Kwapich wrote:
> # HG changeset patch
> # User Mateusz Kwapich
> # Date 1476021239 25200
# HG changeset patch
# User Mateusz Kwapich
# Date 1476102614 25200
# Mon Oct 10 05:30:14 2016 -0700
# Node ID aeda1ae1dab23ba648806a632d86b49d802c84c0
# Parent 8d079c0594b35dfbf57baf8d83fde686a946920a
py3: namedtuple takes unicode (journal ext)
namedtuple usage consistent with
# HG changeset patch
# User Mateusz Kwapich
# Date 1476102691 25200
# Mon Oct 10 05:31:31 2016 -0700
# Node ID c3435d8ca0ecbe8b99522170306ae52cc67c3743
# Parent aeda1ae1dab23ba648806a632d86b49d802c84c0
py3: use raw strings in line continuation (convert ext)
Our py2 to py3 string
Applied those, thanks!
On 10/14/16, 8:46 PM, "Mercurial-devel on behalf of FUJIWARA Katsunori"
wrote:
At Fri, 14 Oct 2016 21:31:36 +0200,
Pierre-Yves David wrote:
>
> Could we make the flag for this 'sqldirstate-ext' to make it clearer
> that it has an external target?
# HG changeset patch
# User Mateusz Kwapich
# Date 1479324110 0
# Wed Nov 16 19:21:50 2016 +
# Branch stable
# Node ID 744c6acd84edf73ffdf505b9673b0383db727a0e
# Parent 727c7211c810d304ebf92b32db7ecf697ce46ac6
metaedit: add a helper function for just metadata rewrites
It will be used
# HG changeset patch
# User Mateusz Kwapich
# Date 1479325623 0
# Wed Nov 16 19:47:03 2016 +
# Branch stable
# Node ID 539a0ff6a3d6664c2dd1fede40ba8e3e2efa9986
# Parent a10be4e9e682615db89200fbfb9583eaf5e05021
metaedit: use faster setparents instead of full update
The working copy is
# HG changeset patch
# User Mateusz Kwapich
# Date 1479325155 0
# Wed Nov 16 19:39:15 2016 +
# Branch stable
# Node ID a10be4e9e682615db89200fbfb9583eaf5e05021
# Parent b2bde478bfebc390dba8f1ee314b7bdd062ab191
metaedit: remove the code gating the new metaedit feature and test it
diff
# HG changeset patch
# User Mateusz Kwapich
# Date 1479324135 0
# Wed Nov 16 19:22:15 2016 +
# Branch stable
# Node ID b2bde478bfebc390dba8f1ee314b7bdd062ab191
# Parent 744c6acd84edf73ffdf505b9673b0383db727a0e
metaedit: extend the functionality to support editing multiple commits
diff
# HG changeset patch
# User Mateusz Kwapich
# Date 1479327311 0
# Wed Nov 16 20:15:11 2016 +
# Node ID 0fd8175aa4e8a3a0cd6f637b34bfa25a103c454e
# Parent c27614f2dec1405db606d1ef871dfabf72cc0737
memctx: allow the memctx to reuse the manifest node
When we have a lot of files writing a
;memctx" methods (ex.
"_status", "__contains__") would work. I'd like to make sure they still have
reasonable behavior with this change. See inline comments.
Excerpts from Mateusz Kwapich's message of 2016-11-16 20:15:28 +:
> # HG changeset pat
# HG changeset patch
# User Mateusz Kwapich
# Date 1479409155 28800
# Thu Nov 17 10:59:15 2016 -0800
# Node ID 4a0824bead3ba5980bd8528937fba5f7bb31ba9f
# Parent 7dfd4c184ee087f2c05e1bdae8a10ccefbff7a92
localrepo: make it possible to reuse manifest when commiting context
This makes the
# HG changeset patch
# User Mateusz Kwapich
# Date 1479410909 28800
# Thu Nov 17 11:28:29 2016 -0800
# Node ID 0d41689f79cf22d8761dd6af9cb5da86008afe94
# Parent 4a0824bead3ba5980bd8528937fba5f7bb31ba9f
memctx: allow the memlightctx thats reusing the manifest node
When we have a lot of
# HG changeset patch
# User Mateusz Kwapich
# Date 1479409155 28800
# Thu Nov 17 10:59:15 2016 -0800
# Node ID 7dfd4c184ee087f2c05e1bdae8a10ccefbff7a92
# Parent 96f2f50d923f94c23999df198ff16409e7539af8
manifest: expose the parents() method
diff --git a/mercurial/manifest.py b/mercurial
# HG changeset patch
# User Mateusz Kwapich
# Date 1479744581 28800
# Mon Nov 21 08:09:41 2016 -0800
# Node ID 4af70f21264ac8e52d9b218080bbc96ee5505606
# Parent 4a0824bead3ba5980bd8528937fba5f7bb31ba9f
memctx: allow the memlightctx thats reusing the manifest node
When we have a lot of
# HG changeset patch
# User Mateusz Kwapich
# Date 1479409155 28800
# Thu Nov 17 10:59:15 2016 -0800
# Node ID 7dfd4c184ee087f2c05e1bdae8a10ccefbff7a92
# Parent 96f2f50d923f94c23999df198ff16409e7539af8
manifest: expose the parents() method
diff --git a/mercurial/manifest.py b/mercurial
# HG changeset patch
# User Mateusz Kwapich
# Date 1479409155 28800
# Thu Nov 17 10:59:15 2016 -0800
# Node ID 4a0824bead3ba5980bd8528937fba5f7bb31ba9f
# Parent 7dfd4c184ee087f2c05e1bdae8a10ccefbff7a92
localrepo: make it possible to reuse manifest when commiting context
This makes the
Excerpts from Augie Fackler's message of 2016-11-21 18:26:16 -0500:
> On Mon, Nov 21, 2016 at 08:13:32AM -0800, Mateusz Kwapich wrote:
> > # HG changeset patch
> > # User Mateusz Kwapich
> > # Date 1479744581 28800
> > # Mon Nov 21 0
Excerpts from Pulkit Goyal's message of 2016-11-23 21:06:29 +0530:
> # HG changeset patch
> # User Pulkit Goyal <7895pul...@gmail.com>
> # Date 1479915042 -19800
> # Wed Nov 23 21:00:42 2016 +0530
> # Node ID 32083f1f0c67341e5b4c22e880b70ccc4e0fc088
> # Parent cb2bac3253fbd52894ffcb4719a148fe
One less footgun in unshelve. Nice!
Excerpts from Kostia Balytskyi's message of 2016-11-23 10:51:47 -0800:
> diff --git a/hgext/shelve.py b/hgext/shelve.py
> --- a/hgext/shelve.py
> +++ b/hgext/shelve.py
> @@ -782,6 +787,7 @@ def _dounshelve(ui, repo, *shelved, **op
>
> try:
>
LGTM
--
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
I like the relocate idea. It would be an useful abstractions - we have a
lot of things that are rewriting one commit at a time.
Excerpts from Jun Wu's message of 2016-11-22 22:18:59 +:
> Excerpts from Augie Fackler's message of 2016-11-21 18:26:16 -0500:
> > Also, could histedit be updated to
LGTM, I suppose that timeless may also want to review it before it's
queued.
Excerpts from Pulkit Goyal's message of 2016-11-24 23:13:48 +0530:
> # HG changeset patch
> # User Pulkit Goyal <7895pul...@gmail.com>
> # Date 1479915042 -19800
> # Wed Nov 23 21:00:42 2016 +0530
> # Node ID 920d594
--
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
Please, forgive my email client (or my misuse of it). The proper
contents of my last reply are following:
LGTM
Excerpts from Jun Wu's message of 2016-11-25 12:49:01 +:
> # HG changeset patch
> # User Jun Wu
> # Date 1480077830 0
> # Fri Nov 25 12:43:50 2016 +
> # Node ID c0a9c4c2c6
The logic looks correct. It definitely makes the fsmonitor more robust.
Excerpts from Simon Farnsworth's message of 2016-11-25 07:30:53 -0800:
> # HG changeset patch
> # User Simon Farnsworth
> # Date 1480087846 28800
> # Fri Nov 25 07:30:46 2016 -0800
> # Node ID 0ca34f1b83da754246ee33e01c4
Just two nits, the rest looks good.
Excerpts from Jun Wu's message of 2016-11-28 05:54:44 +:
> # HG changeset patch
> # User Jun Wu
> # Date 1480311922 0
> # Mon Nov 28 05:45:22 2016 +
> # Node ID c750859c8069c0ae1d4cbbd0cce583971f8b6f71
> # Parent 64b55bffc1c059eb4c11ca195b561ca8a2
What Jun said. All the rest looks good to me.
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 +
> # Node ID 4053f60f77657f8f54afc72d00bf629b75d0b4b9
> # Parent 9e29d4
Excerpts from Ryan McElroy's message of 2016-12-05 13:14:28 +:
>
> On 11/16/16 7:56 PM, Mateusz Kwapich wrote:
> > # HG changeset patch
> > # User Mateusz Kwapich
> > # Date 1479324110 0
> > # Wed Nov 16 19:21:50 2016 +000
Excerpts from Ryan McElroy's message of 2016-12-05 13:14:58 +:
>
> On 11/16/16 7:56 PM, Mateusz Kwapich wrote:
> > # HG changeset patch
> > # User Mateusz Kwapich
> > # Date 1479324135 0
> > # Wed Nov 16 19:22:15 2016 +000
# HG changeset patch
# User Mateusz Kwapich
# Date 1481029031 28800
# Tue Dec 06 04:57:11 2016 -0800
# Branch stable
# Node ID b8cbdf6356d770b70df92b13095c11438b8ad1a1
# Parent 78b75ed14103cee05ed13948025310919adde559
metaedit: separate the fold and no-fold logic
As I want to implement the
# HG changeset patch
# User Mateusz Kwapich
# Date 1481028829 28800
# Tue Dec 06 04:53:49 2016 -0800
# Branch stable
# Node ID 78b75ed14103cee05ed13948025310919adde559
# Parent 727c7211c810d304ebf92b32db7ecf697ce46ac6
metaedit: add a helper function for just metadata rewrites
It will be
# HG changeset patch
# User Mateusz Kwapich
# Date 1481038866 28800
# Tue Dec 06 07:41:06 2016 -0800
# Branch stable
# Node ID d4a8c386a14b3e455e60fffec7fb315f9629ff12
# Parent 2495e78f6db6bb8d885121c45c16b9ba9266d1a1
metaedit: remove the code gating the new metaedit feature and test it
# HG changeset patch
# User Mateusz Kwapich
# Date 1481029159 28800
# Tue Dec 06 04:59:19 2016 -0800
# Branch stable
# Node ID 2495e78f6db6bb8d885121c45c16b9ba9266d1a1
# Parent b8cbdf6356d770b70df92b13095c11438b8ad1a1
metaedit: extend the functionality to support editing multiple commits
# HG changeset patch
# User Mateusz Kwapich
# Date 1481040901 28800
# Tue Dec 06 08:15:01 2016 -0800
# Branch stable
# Node ID a7cc11231c424e435252e7388dd05b139e766af2
# Parent 02a29df6827d1dae26b885c9c6c9d56be33ecd00
evolve: make the disallowing new unstable more accurate
If the
# HG changeset patch
# User Mateusz Kwapich
# Date 1481041359 28800
# Tue Dec 06 08:22:39 2016 -0800
# Branch stable
# Node ID 50ef3a1f97fb8faf1506d7751ba3f7ffe7e0e7db
# Parent a7cc11231c424e435252e7388dd05b139e766af2
metaedit: make metaedit work nice when new unstable commits are
# HG changeset patch
# User Mateusz Kwapich
# Date 1479325623 0
# Wed Nov 16 19:47:03 2016 +
# Branch stable
# Node ID 651b6258e993f6d45e4ef7b324303201db5639b2
# Parent d4a8c386a14b3e455e60fffec7fb315f9629ff12
metaedit: use faster setparents instead of full update
The working copy is
# HG changeset patch
# User Mateusz Kwapich
# Date 1479405307 28800
# Thu Nov 17 09:55:07 2016 -0800
# Branch stable
# Node ID 02a29df6827d1dae26b885c9c6c9d56be33ecd00
# Parent 651b6258e993f6d45e4ef7b324303201db5639b2
metaedit: rewrite rewritemeta to reuse manifests
diff --git a/hgext
The whole series looks good to me.
Best,
Mateusz
--
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
Excerpts from Jeremy Wall (zaphar)'s message of 2016-12-02 13:12:20 -0600:
> diff -r 9e29d4e4e08b -r 9cb1540e417d tests/test-phases-exchange.t
> --- a/tests/test-phases-exchange.tTue Nov 29 04:11:05 2016 -0800
> +++ b/tests/test-phases-exchange.tWed Nov 30 15:55:42 2016 -0600
> @@ -384,7 +3
Excerpts from Pulkit Goyal's message of 2016-12-07 10:43:24 +0530:
> Also after this patch, `hg version` now runs on Python 3.5. Hurray!
LGTM, having `hg version` running is really good news. Congrats!
--
___
Mercurial-devel mailing list
Mercurial-dev
# HG changeset patch
# User Mateusz Kwapich
# Date 1470681797 25200
# Mon Aug 08 11:43:17 2016 -0700
# Node ID e7d2b86e2ee35fcb7b4e6ef6a4d0c6f696331f42
# Parent 5e2365698d448c2a1d75f6a58e11ec65f66a0266
dirstate: add callback to notify extensions about wd parent change
The journal extension
# HG changeset patch
# User Mateusz Kwapich
# Date 1470681797 25200
# Mon Aug 08 11:43:17 2016 -0700
# Node ID cee42d2bce7f34cae842d0f868e829ff3c7ecd04
# Parent e7d2b86e2ee35fcb7b4e6ef6a4d0c6f696331f42
journal: use the dirstate parentchange callbacks
Instead of hacking into dirstate
# HG changeset patch
# User Mateusz Kwapich
# Date 1470759346 25200
# Tue Aug 09 09:15:46 2016 -0700
# Node ID 027a1548685a1e6815d20e39aa55ed8c2c68b5e3
# Parent 2abe7cd83b7db665c8a8869ecb3caa10eccd7cc3
journal: use the dirstate parentchange callbacks
Instead of hacking into dirstate
# HG changeset patch
# User Mateusz Kwapich
# Date 1470759366 25200
# Tue Aug 09 09:16:06 2016 -0700
# Node ID 2abe7cd83b7db665c8a8869ecb3caa10eccd7cc3
# Parent 5e2365698d448c2a1d75f6a58e11ec65f66a0266
dirstate: add callback to notify extensions about wd parent change
The journal extension
# HG changeset patch
# User Mateusz Kwapich
# Date 1470759346 25200
# Tue Aug 09 09:15:46 2016 -0700
# Node ID cd05624a1a1c133a0086e85a142dc65641a4e208
# Parent ab4af8f1ddcae13159edf3eeea9fa4358c93babf
journal: use the dirstate parentchange callbacks
Instead of hacking into dirstate
# HG changeset patch
# User Mateusz Kwapich
# Date 1470927641 25200
# Thu Aug 11 08:00:41 2016 -0700
# Node ID ab4af8f1ddcae13159edf3eeea9fa4358c93babf
# Parent 5e2365698d448c2a1d75f6a58e11ec65f66a0266
dirstate: add callback to notify extensions about wd parent change
The journal extension
# HG changeset patch
# User Mateusz Kwapich
# Date 1472065656 25200
# Wed Aug 24 12:07:36 2016 -0700
# Node ID a29e5e93a814268490afd617aebce2f79bd4a75b
# Parent a19f569214c76d99b0df4c4844f2ab34c9f8cfc6
dirstate: rebuild should update dirstate properly
Updating dirstate by simply adding and
# HG changeset patch
# User Mateusz Kwapich
# Date 1472225341 25200
# Fri Aug 26 08:29:01 2016 -0700
# Node ID 430e8c2cc229e0fbed231370c36cc2a215ecb30e
# Parent 318e2b600b80e4ed3c6f37df46ec7544f60d4c0b
localrepo: actually invalidate dirstate on invalidatedirstate()
The old dirstate was
ot; wrote:
On Fri, 26 Aug 2016 08:31:09 -0700, Mateusz Kwapich wrote:
> # HG changeset patch
> # User Mateusz Kwapich
> # Date 1472225341 25200
> # Fri Aug 26 08:29:01 2016 -0700
> # Node ID 430e8c2cc229e0fbed231370c36cc2
On 8/28/16, 3:01 PM, "Yuya Nishihara" wrote:
On Wed, 24 Aug 2016 12:09:18 -0700, Mateusz Kwapich wrote:
> # HG changeset patch
> # User Mateusz Kwapich
> # Date 1472065656 25200
> # Wed Aug 24 12:07:36 2016
# HG changeset patch
# User Mateusz Kwapich
# Date 1472595388 25200
# Tue Aug 30 15:16:28 2016 -0700
# Node ID aff2b9911d78a3d427e3ba18a565e76215971948
# Parent 12f8bef59bfa2739d0c5d8425ab494fd2fe38a81
dirstate: rebuild should update dirstate properly
Updating dirstate by simply adding and
I don’t think so. I’m not 100% sure that it doesn’t break any extension around
so I would prefer to release it with next major release.
On 8/30/16, 11:21 PM, "Matt Mackall" wrote:
On Tue, 2016-08-30 at 15:17 -0700, Mateusz Kwapich wrote:
> # HG changeset patch
>
63 matches
Mail list logo