Hello there, Can I get a little review on this :)
On Tue, Feb 27, 2018 at 1:58 AM, khanchi97 (Sushil khanchi) <
phabrica...@mercurial-scm.org> wrote:
> khanchi97 updated this revision to Diff 6132.
>
> REPOSITORY
> rHG Mercurial
>
> CHANGES SINCE LAST UPDATE
> https://phab.mercurial-scm.org/D
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa9d88301d495: narrow: drop safehasattr() checks for
always-present repo.narrowmatch (authored by martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGd93553662d0a: narrow: move requirement constant to core
(authored by martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2487?vs=6187&id=62
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGcb0449f3d9fc: narrow: move checking for narrow requirement
into _narrowmatch() (authored by martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGae95b0c81051: narrow: consider both local and remote
matchers in narrowchangegroup (authored by martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGd0baa181342a: narrow: always wrap repo (authored by
martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2491?vs=6191&id=6224
REVISION DETA
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG0abed045d325: narrow: remove dependency from narrowspec
module to hg module (authored by martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG759a79ce785e: narrow: move narrowmatch-related methods to
localrepo (authored by martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2494?v
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGe5005ade8860: narrow: reduce depedence on narrowspec.save()
(authored by martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2492?vs=6192&i
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGbd947b538f0e: narrow: move
changegroup.supportedoutgoingversions() override to core (authored by
martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercuria
indygreg accepted this revision.
indygreg added a comment.
This revision is now accepted and ready to land.
I know we're trying to remove methods from `localrepository` so it is
smaller. `narrowpats` and `_narrowmatch` need to be there because of
`@repofilecache`. And `narrowmatch` is the thi
indygreg accepted this revision.
indygreg added inline comments.
This revision is now accepted and ready to land.
INLINE COMMENTS
> narrowrepo.py:76-78
> +source = self
> +if self.shared():
> +source = hg.sharedreposource(self)
It feels like there could be
indygreg accepted this revision.
indygreg added a comment.
This revision is now accepted and ready to land.
Yay for getting rid of `__bases__` hackery!
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2491
To: martinvonz, durin42, #hg-reviewers, indygreg
Cc: indyg
indygreg accepted this revision.
indygreg added a comment.
This revision is now accepted and ready to land.
Having the requirement imply the use of a narrow matcher seems OK to me. It
is easy enough to change if we need something else.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://pha
indygreg accepted this revision.
indygreg added a comment.
This revision is now accepted and ready to land.
I could bikeshed the location. But meh. Anywhere in core is better than
nowhere in core.
(I would have suggested repository.py)
REPOSITORY
rHG Mercurial
REVISION DETAIL
https:
https://bz.mercurial-scm.org/show_bug.cgi?id=5806
Bug ID: 5806
Summary: looks like evolve commit 25155eb0 made it incompatible
with core < ef3a24a023e
Product: Mercurial
Version: unspecified
Hardware: PC
OS:
lothiraldan updated this revision to Diff 6218.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2402?vs=6016&id=6218
REVISION DETAIL
https://phab.mercurial-scm.org/D2402
AFFECTED FILES
mercurial/configitems.py
mercurial/stack.py
tests/test-stack.t
lothiraldan updated this revision to Diff 6219.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2403?vs=6017&id=6219
REVISION DETAIL
https://phab.mercurial-scm.org/D2403
AFFECTED FILES
hgext/show.py
mercurial/destutil.py
CHANGE DETAILS
diff --git a
lothiraldan updated this revision to Diff 6216.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2400?vs=6014&id=6216
REVISION DETAIL
https://phab.mercurial-scm.org/D2400
AFFECTED FILES
mercurial/configitems.py
mercurial/stack.py
CHANGE DETAILS
diff
lothiraldan updated this revision to Diff 6217.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2401?vs=6015&id=6217
REVISION DETAIL
https://phab.mercurial-scm.org/D2401
AFFECTED FILES
mercurial/configitems.py
mercurial/stack.py
CHANGE DETAILS
diff
lothiraldan updated this revision to Diff 6213.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2396?vs=6010&id=6213
REVISION DETAIL
https://phab.mercurial-scm.org/D2396
AFFECTED FILES
mercurial/revset.py
tests/test-stack.t
CHANGE DETAILS
diff --gi
lothiraldan updated this revision to Diff 6214.
Herald added a reviewer: durin42.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2398?vs=6012&id=6214
REVISION DETAIL
https://phab.mercurial-scm.org/D2398
AFFECTED FILES
hgext/histedit.py
mercurial/des
lothiraldan updated this revision to Diff 6215.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2399?vs=6013&id=6215
REVISION DETAIL
https://phab.mercurial-scm.org/D2399
AFFECTED FILES
mercurial/destutil.py
mercurial/stack.py
tests/test-stack.t
CH
lothiraldan updated this revision to Diff 6212.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2395?vs=6009&id=6212
REVISION DETAIL
https://phab.mercurial-scm.org/D2395
AFFECTED FILES
mercurial/stack.py
CHANGE DETAILS
diff --git a/mercurial/stack.py
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2511
AFFECTED FILES
contrib/python3-whitelist
CHANGE DETAILS
diff --git a/contrib/python3-whitelist b/
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
After this, the test works on Python 3. There is some extra return value by
open().write() I think which needs to be handled.
1. skip-blame because just b'' pr
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
This makes the test run succesfully on Python 3. There is just a b'' prefix
extra in the output.
1. skip-blame because we added just b'' prefixes
REPOSITORY
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
1. skip-blame because just b'' prefixes
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2506
AFFECTED FILES
tests/test-revlog-ancest
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
1. skip-blame because just b'' prefixes
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2508
AFFECTED FILES
tests/test-revlog.t
CHA
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
This makes the test pass on Python 3.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2507
AFFECTED FILES
tests/test-revlog-ancestry
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2498
AFFECTED FILES
mercurial/exchange.py
CHANGE DETAILS
diff --git a/mercurial/exchange.py b/mercuria
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2502
AFFECTED FILES
hgext/rebase.py
CHANGE DETAILS
diff --git a/hgext/rebase.py b/hgext/rebase.py
---
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2496
AFFECTED FILES
mercurial/commands.py
mercurial/fileset.py
CHANGE DETAILS
diff --git a/mercurial
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
I am not sure what I was thinking when I added that but while fixing rebase
tests, I revisited the file and found that I did wrong. I am sorry for this.
REPOSITORY
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2501
AFFECTED FILES
mercurial/merge.py
CHANGE DETAILS
diff --git a/mercurial/merge.py b/mercurial/merg
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2503
AFFECTED FILES
tests/bruterebase.py
CHANGE DETAILS
diff --git a/tests/bruterebase.py b/tests/brut
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2505
AFFECTED FILES
tests/test-resolve.t
CHANGE DETAILS
diff --git a/tests/test-resolve.t b/tests/test
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2499
AFFECTED FILES
hgext/rebase.py
CHANGE DETAILS
diff --git a/hgext/rebase.py b/hgext/rebase.py
---
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
1. skip-blame because just b'' prefixes
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2500
AFFECTED FILES
tests/test-rebase-scenar
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2497
AFFECTED FILES
mercurial/branchmap.py
CHANGE DETAILS
diff --git a/mercurial/branchmap.py b/mercur
4 new changesets in mercurial:
https://www.mercurial-scm.org/repo/hg/rev/02cd2fb6de72
changeset: 36439:02cd2fb6de72
user:Yuya Nishihara
date:Sun Feb 25 13:42:51 2018 +0900
summary: narrow: drop redundant templatekw/revset names from help text
https://www.mercurial-scm.org/r
martinvonz created this revision.
Herald added a reviewer: durin42.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
We want to move narrowmatch() and others into core, so we need to get
rid of the dependence on the "narrow_opts" from the clos
martinvonz created this revision.
Herald added a reviewer: durin42.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
My short-term goal is to move narrowrepo.narrowmatch() onto localrepo
and this is a necessary step for that.
I put the co
martinvonz created this revision.
Herald added a reviewer: durin42.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
Also document why we need cg3 or higher.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2488
AF
martinvonz created this revision.
Herald added a reviewer: durin42.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
I've added checks for repo.narrowmatch().always() in order to restore
some of the fast paths for non-narrow repos.
REPOSITORY
martinvonz created this revision.
Herald added a reviewer: durin42.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
This patch makes it so localrepo.narrowmatch() and a few more are
always available, which will let us simplify the use sites a
martinvonz created this revision.
Herald added a reviewer: durin42.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
I think narrowspec should be a simple, low-level module and not depend
on the hg module. This prepares for moving that depende
martinvonz created this revision.
Herald added a reviewer: durin42.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2493
AFFECTED FILES
hgext/narrow/narrowrepo.py
mercurial/narrows
martinvonz created this revision.
Herald added a reviewer: durin42.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
It's simpler to always wrap the repo. This prepares for moving
narrowrepo.narrowmatch() onto localrepo by showing that it's no
martinvonz created this revision.
Herald added a reviewer: durin42.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
The existing code that picked one or the other seemed very
suspicious. This patch makes us intersect the local matcher with th
50 matches
Mail list logo