indygreg accepted this revision.
indygreg added a comment.
This revision is now accepted and ready to land.
Oh wow. Thanks for cleaning this up.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2967
To: martinvonz, #hg-reviewers, indygreg
Cc: indygreg,
indygreg marked 2 inline comments as done.
indygreg added inline comments.
INLINE COMMENTS
> durin42 wrote in repository.py:273
> I'm unclear: are all the methods supposed to be abstract, or are some of them
> default implementations?
In `zope.interface`, the interface declaration is its own
54 new changesets in mercurial:
https://www.mercurial-scm.org/repo/hg/rev/638a241202a3
changeset: 37102:638a241202a3
user:Yuya Nishihara
date:Thu Mar 15 21:49:33 2018 +0900
summary: templater: add hook point to populate additional mapping items
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG6f467adf9f05: bundle: add the possibility to bundle a
stream v2 part (authored by lothiraldan, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGb837655c1509: streamclonebundle: make sure we accept new
stream clone bundle spec (authored by lothiraldan, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa2b350d9f6ae: bundlespec: add support for some variants
(authored by lothiraldan, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG99f28a4b2a3a: streamclonebundle: add a test for stream
clone bundle v2 (authored by lothiraldan, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG6c7a6b04b274: bundlespec: move computing the bundle
contentops in parsebundlespec (authored by lothiraldan, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGb229fd9adeae: bundlespec: introduce an attr-based class for
bundlespec (authored by lothiraldan, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG568e9b928c4c: streambundlev2: add a new test-file (authored
by lothiraldan, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1953?vs=7375=7384
indygreg accepted this revision.
indygreg added a comment.
This revision is now accepted and ready to land.
Thanks for following up. This looks great!
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D1952
To: lothiraldan, #hg-reviewers, indygreg
Cc: indygreg,
On Sun, Mar 25, 2018 at 02:15:54PM +0900, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara
> # Date 1521805435 -32400
> # Fri Mar 23 20:43:55 2018 +0900
> # Node ID bcfa34ae805b92d3c9d32c8bed19c6432ba44120
> # Parent
sheehan updated this revision to Diff 7381.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2904?vs=7361=7381
REVISION DETAIL
https://phab.mercurial-scm.org/D2904
AFFECTED FILES
mercurial/templatefuncs.py
mercurial/utils/stringutil.py
martinvonz added inline comments.
INLINE COMMENTS
> yuja wrote in context.py:65
> Nit: one more `changeid=''` here.
Good catch. I found this one while working on the next series, so it will get
fixed then.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2964
To:
lothiraldan updated this revision to Diff 7376.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1954?vs=5152=7376
REVISION DETAIL
https://phab.mercurial-scm.org/D1954
AFFECTED FILES
mercurial/bundle2.py
mercurial/exchange.py
CHANGE DETAILS
diff
lothiraldan updated this revision to Diff 7374.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1952?vs=5151=7374
REVISION DETAIL
https://phab.mercurial-scm.org/D1952
AFFECTED FILES
hgext/lfs/__init__.py
mercurial/bundle2.py
mercurial/commands.py
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGfb7140f1d09d: stringutil: move person function from
templatefilters (authored by sheehan, committed by ).
CHANGED PRIOR TO COMMIT
https://phab.mercurial-scm.org/D2960?vs=7360=7380#toc
REPOSITORY
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGf8e1f48de118: stringutil: add isauthorwellformed function
(authored by sheehan, committed by ).
CHANGED PRIOR TO COMMIT
https://phab.mercurial-scm.org/D2959?vs=7359=7379#toc
REPOSITORY
rHG
lothiraldan updated this revision to Diff 7378.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1957?vs=5029=7378
REVISION DETAIL
https://phab.mercurial-scm.org/D1957
AFFECTED FILES
mercurial/exchange.py
tests/test-stream-bundle-v2.t
CHANGE DETAILS
lothiraldan updated this revision to Diff 7375.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1953?vs=5025=7375
REVISION DETAIL
https://phab.mercurial-scm.org/D1953
AFFECTED FILES
tests/test-stream-bundle-v2.t
CHANGE DETAILS
diff --git
lothiraldan updated this revision to Diff 7377.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1955?vs=5027=7377
REVISION DETAIL
https://phab.mercurial-scm.org/D1955
AFFECTED FILES
mercurial/exchange.py
tests/test-stream-bundle-v2.t
CHANGE DETAILS
lothiraldan created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
We will add support of contentops in the next patch, introduce a class instead
of returning a 4-items tuple.
REPOSITORY
rHG Mercurial
REVISION DETAIL
yuja requested changes to this revision.
yuja added inline comments.
This revision now requires changes to proceed.
INLINE COMMENTS
> templatefuncs.py:186
> +
> +if not repo.wvfs.exists('.mailmap'):
> +return author
Nit: `.exists()` isn't needed. `tryread()` handles it.
>
yuja added a comment.
Queued, thanks. I've adjusted the location of codes so the author-related
functions are grouped.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2960
To: sheehan, #hg-reviewers, av6, yuja
Cc: av6, mercurial-devel
yuja added subscribers: smf, yuja.
yuja added a comment.
+1, but I don't remember why we made that hack.
@smf Any thoughts?
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2969
To: martinvonz, #hg-reviewers
Cc: yuja, smf, mercurial-devel
yuja added inline comments.
INLINE COMMENTS
> context.py:65
> be committed."""
> def __new__(cls, repo, changeid='', *args, **kwargs):
> if isinstance(changeid, basectx):
Nit: one more `changeid=''` here.
REPOSITORY
rHG Mercurial
REVISION DETAIL
On Thu, 29 Mar 2018 23:26:03 -0400, Matt Harbison wrote:
> >> elif method == b'GET':
> >> checkperm('pull')
> >>
> >> -return False
> >> +res.status = hgwebcommon.statusmessage(HTTP_OK)
> >> +res.headers[b'Content-Type'] = b'application/octet-stream'
> >> +
> >> +
On Thu, 29 Mar 2018 23:04:39 -0400, Matt Harbison wrote:
> On Thu, 29 Mar 2018 07:26:04 -0400, Yuya Nishihara wrote:
>
> > On Wed, 28 Mar 2018 22:45:30 -0400, Matt Harbison wrote:
> >> # HG changeset patch
> >> # User Matt Harbison
> >> # Date 1522210269
On Thu, 29 Mar 2018 22:50:52 -0400, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison
> # Date 1521268666 14400
> # Sat Mar 17 02:37:46 2018 -0400
> # Node ID 2c5755e3d9832cba3dd46b4eb296b5733ce10dfe
> # Parent
martinvonz updated this revision to Diff 7367.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2965?vs=7365=7367
REVISION DETAIL
https://phab.mercurial-scm.org/D2965
AFFECTED FILES
mercurial/commands.py
mercurial/subrepo.py
CHANGE DETAILS
diff
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
As an example of how weird the basectx.__new__ is: whenever you create
a workingctx, basectx.__new__ gets called first. Since our __new__ has
a "changeid"
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
I want to reduce dependence on basectx.__new__() and move that code
over to repo.__getitem__().
REPOSITORY
rHG Mercurial
REVISION DETAIL
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
It seems like a good practice to call the super constructor. Let's
start by passing the repo along to basectx so it can assign it to a
private attribute. We
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
I find it misleading to pass changeid=changectx. It currently works to
do that because there's weird (IMO) handling of it in
basectx.__new__. I'm planning on
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
The two subclasses in core apparently didn't trust __new__() to do the
job anyway (they both reassigned all the properties after).
REPOSITORY
rHG Mercurial
101 - 135 of 135 matches
Mail list logo