morisgi added inline comments.
INLINE COMMENTS
> cmdutil.py:126-127
> _('ignore changes whose lines are all blank')),
> +('E', 'ignore-space-at-eol', None,
> + _('ignore changes in whitespace at EOL')),
> ]
Regular diff chose -Z for the short option
REPOSITORY
rHG Mercurial
RE
martinvonz added a comment.
In https://phab.mercurial-scm.org/D492#7991, @dsp wrote:
> if match can't be None, then we should remove it as the default value.
Otherwise I look at this in a year and think "why do we not handle a None
matcher, when it clearly can be None if the value for ma
martinvonz updated this revision to Diff 1243.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D492?vs=1207&id=1243
REVISION DETAIL
https://phab.mercurial-scm.org/D492
AFFECTED FILES
mercurial/context.py
CHANGE DETAILS
diff --git a/mercurial/context.p
dsp accepted this revision.
dsp added a comment.
I wonder if that is something that we can find with check-code to reduce the
overall usage of these kind of patterns.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D493
To: mbolin, rdamazio, durin42, quark, #hg-r
dsp accepted this revision.
dsp added a comment.
Thanks
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D494
To: quark, #hg-reviewers, dsp
Cc: dsp, mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercuri
dsp requested changes to this revision.
dsp added a comment.
This revision now requires changes to proceed.
if match can't be None, then we should remove it as the default value.
Otherwise I look at this in a year and think "why do we not handle a None
matcher, when it clearly can be None if
dsp accepted this revision.
dsp added a comment.
I guess either works. I personally prefer the inheritance here as it feels
easier to get it right from an unsuspected caller, but i can see benefits on
both sides.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D4
quark planned changes to this revision.
quark added a comment.
Let's wait for my revset order and Yuya's matchtree patches first.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D441
To: quark, #hg-reviewers
Cc: yuja, martinvonz, mercurial-devel
__
quark requested changes to this revision.
quark added a comment.
This revision now requires changes to proceed.
Cleaning this from my queue since it's doable using `%include ..` today in a
trusted environment - If you can tell people to toggle a config option in their
hgrc, you can also tell
dsp updated this revision to Diff 1241.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D422?vs=1240&id=1241
REVISION DETAIL
https://phab.mercurial-scm.org/D422
AFFECTED FILES
mercurial/cmdutil.py
mercurial/help/config.txt
mercurial/mdiff.py
mercu
dsp updated this revision to Diff 1240.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D422?vs=1022&id=1240
REVISION DETAIL
https://phab.mercurial-scm.org/D422
AFFECTED FILES
mercurial/cmdutil.py
mercurial/help/config.txt
mercurial/mdiff.py
mercu
pulkit added a comment.
@rishabhmadan96 Sorry for jumping late, can you followup with a patch adding
some docs for the flag. Also document the behavior of `hg releasenotes -c` and
it will be great if you can add a test for that too.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.
phillco updated this revision to Diff 1238.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D450?vs=1237&id=1238
REVISION DETAIL
https://phab.mercurial-scm.org/D450
AFFECTED FILES
mercurial/filemerge.py
mercurial/tagmerge.py
CHANGE DETAILS
diff --gi
phillco updated this revision to Diff 1236.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D449?vs=1235&id=1236
REVISION DETAIL
https://phab.mercurial-scm.org/D449
AFFECTED FILES
hgext/largefiles/overrides.py
mercurial/filemerge.py
mercurial/merge.
phillco updated this revision to Diff 1237.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D450?vs=1234&id=1237
REVISION DETAIL
https://phab.mercurial-scm.org/D450
AFFECTED FILES
mercurial/filemerge.py
mercurial/tagmerge.py
CHANGE DETAILS
diff --gi
phillco updated this revision to Diff 1235.
phillco edited the summary of this revision.
phillco retitled this revision from "merge: pass `wctx` object to `premerge()`
and `filemerge`" to "merge: pass wctx to premerge, filemerge".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://ph
phillco updated this revision to Diff 1234.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D450?vs=1211&id=1234
REVISION DETAIL
https://phab.mercurial-scm.org/D450
AFFECTED FILES
mercurial/filemerge.py
mercurial/tagmerge.py
CHANGE DETAILS
diff --gi
phillco updated this revision to Diff 1233.
phillco retitled this revision from "filemerge: add wctx to all internal tools"
to "merge: pass wctx to premerge, filemerge".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D499?vs=1232&id=1233
REVISION DETAIL
phillco updated this revision to Diff 1232.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D499?vs=1231&id=1232
REVISION DETAIL
https://phab.mercurial-scm.org/D499
AFFECTE
smf added a comment.
Everything I was talking about in https://phab.mercurial-scm.org/D468 was
meant to be posted here. (I am not doing well with phabricator it seems)
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D464
To: mbolin, quark, durin42, #hg-reviewers,
smf added a comment.
In https://phab.mercurial-scm.org/D468#7920, @mbolin wrote:
> @smf so are you OK with this patch as-is?
Yeah, should be fine.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D468
To: mbolin, #hg-reviewers, quark, durin42
Cc: smf,
mbolin added a comment.
@smf so are you OK with this patch as-is?
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D468
To: mbolin, #hg-reviewers, quark, durin42
Cc: smf, mercurial-devel
___
Mercurial-devel mailing list
M
smf added a comment.
In https://phab.mercurial-scm.org/D468#7915, @mbolin wrote:
> @smf Personally, I think that https://phab.mercurial-scm.org/D464 is a
better place to have that discussion.
Sigh. Yes, this is what I was confused about.
REPOSITORY
rHG Mercurial
REVISION DETAI
smf added a comment.
In https://phab.mercurial-scm.org/D468#7916, @durin42 wrote:
> In https://phab.mercurial-scm.org/D468#7914, @smf wrote:
>
> > Basically, I was pondering aloud if '~' would be enough to future-proof
us and if we shouldn't just rename all temp files to something uni
smf added a comment.
In https://phab.mercurial-scm.org/D468#7912, @mbolin wrote:
> @smf As I put in the summary, I think this use of `tempfile.mkstemp()` is
different than the others in the codebase because it uses the `dir=` argument
to create a file in the working copy. As such, I'd ar
durin42 added a comment.
In https://phab.mercurial-scm.org/D468#7914, @smf wrote:
> Basically, I was pondering aloud if '~' would be enough to future-proof us
and if we shouldn't just rename all temp files to something unique (HG_EDITOR
for commits, HG_HISTEDIT for histedit, etc). What I
mbolin added a comment.
@smf Personally, I think that https://phab.mercurial-scm.org/D464 is a better
place to have that discussion.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D468
To: mbolin, #hg-reviewers, quark, durin42
Cc: smf, mercurial-devel
__
smf added a comment.
In https://phab.mercurial-scm.org/D468#7910, @smf wrote:
> That seems a bit over complicated to me. Why not just just use the
> random tmp as a directory instead of a file while renaming the file at
> the same time:
>
> /tmp/XYZ123/hg-editor (or HG_EDITOR or
mbolin added a comment.
@smf As I put in the summary, I think this use of `tempfile.mkstemp()` is
different than the others in the codebase because it uses the `dir=` argument
to create a file in the working copy. As such, I'd argue that it's reasonable
to consider it separately from the oth
smf added a comment.
In https://phab.mercurial-scm.org/D468#7909, @durin42 wrote:
> In https://phab.mercurial-scm.org/D468#7908, @smf wrote:
>
> > In https://phab.mercurial-scm.org/D468#7836, @quark wrote:
> >
> > > In https://phab.mercurial-scm.org/D468#7833, @smf wrote:
> > >
durin42 added a comment.
In https://phab.mercurial-scm.org/D468#7908, @smf wrote:
> In https://phab.mercurial-scm.org/D468#7836, @quark wrote:
>
> > In https://phab.mercurial-scm.org/D468#7833, @smf wrote:
> >
> > > Basically, I'd like a more unified approach for all types of temp
smf added a comment.
In https://phab.mercurial-scm.org/D468#7836, @quark wrote:
> In https://phab.mercurial-scm.org/D468#7833, @smf wrote:
>
> > Basically, I'd like a more unified approach for all types of temp files
(commit message, histedit, conflicts, etc).
>
>
> I think this
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGf672d060a931: bundlerepo: move bundle2 part handling out to
a function (authored by durham).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D290?vs=1217&id=1229
R
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG891118dcd279: bundle2: seek part back during iteration
(authored by durham).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D289?vs=1216&id=1228
REVISION DETAIL
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG702a26fec3e2: bundlerepo: move temp bundle creation to a
separate function (authored by durham).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D288?vs=1215&id=122
martinvonz added a comment.
In https://phab.mercurial-scm.org/D422#7818, @akushner wrote:
> @martinvonz - a reasonable first pass would be to whitelist known
contributors for CI runs.
That sounds reasonable. Still not my area of expertise, but I'd be happy to
see it done.
REPOS
durham added a comment.
I fixed the comment and renamed read to readfn. I know we usually do renames
as separate from code moves, but this was a tiny rename (only one use).
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D288
To: durham, #hg-reviewers, indygreg
C
phillco updated this revision to Diff 1225.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D404?vs=913&id=1225
REVISION DETAIL
https://phab.mercurial-scm.org/D404
AFFECTED FILES
mercurial/filemerge.py
CHANGE DETAILS
diff --git a/mercurial/filemerge.p
phillco updated this revision to Diff 1226.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D444?vs=1073&id=1226
REVISION DETAIL
https://phab.mercurial-scm.org/D444
AFFECTED FILES
mercurial/context.py
mercurial/merge.py
CHANGE DETAILS
diff --git a/m
phillco updated this revision to Diff 1224.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D403?vs=912&id=1224
REVISION DETAIL
https://phab.mercurial-scm.org/D403
AFFECTED FILES
mercurial/filemerge.py
CHANGE DETAILS
diff --git a/mercurial/filemerge.p
phillco updated this revision to Diff 1223.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D401?vs=911&id=1223
REVISION DETAIL
https://phab.mercurial-scm.org/D401
AFFECTED FILES
mercurial/filemerge.py
CHANGE DETAILS
diff --git a/mercurial/filemerge.p
phillco updated this revision to Diff 1221.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D388?vs=880&id=1221
REVISION DETAIL
https://phab.mercurial-scm.org/D388
AFFECTED FILES
mercurial/filemerge.py
CHANGE DETAILS
diff --git a/mercurial/filemerge.p
phillco updated this revision to Diff 1220.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D381?vs=1041&id=1220
REVISION DETAIL
https://phab.mercurial-scm.org/D381
AFFECTED FILES
contrib/simplemerge
mercurial/filemerge.py
mercurial/simplemerge.py
phillco updated this revision to Diff 1222.
phillco edited the summary of this revision.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D399?vs=906&id=1222
REVISION DETAIL
https://phab.mercurial-scm.org/D399
AFFECTED FILES
mercurial/filemerge.py
CHANG
phillco updated this revision to Diff 1219.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D434?vs=1036&id=1219
REVISION DETAIL
https://phab.mercurial-scm.org/D434
AFFECTED FILES
mercurial/context.py
CHANGE DETAILS
diff --git a/mercurial/context.py b
phillco updated this revision to Diff 1218.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D400?vs=907&id=1218
REVISION DETAIL
https://phab.mercurial-scm.org/D400
AFFECTED FILES
mercurial/filemerge.py
CHANGE DETAILS
diff --git a/mercurial/filemerge.p
durham updated this revision to Diff 1216.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D289?vs=659&id=1216
REVISION DETAIL
https://phab.mercurial-scm.org/D289
AFFECTED FILES
mercurial/bundle2.py
mercurial/bundlerepo.py
CHANGE DETAILS
diff --git
durham updated this revision to Diff 1215.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D288?vs=658&id=1215
REVISION DETAIL
https://phab.mercurial-scm.org/D288
AFFECTED FILES
mercurial/bundlerepo.py
CHANGE DETAILS
diff --git a/mercurial/bundlerepo.
durham updated this revision to Diff 1217.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D290?vs=660&id=1217
REVISION DETAIL
https://phab.mercurial-scm.org/D290
AFFECTED FILES
mercurial/bundlerepo.py
CHANGE DETAILS
diff --git a/mercurial/bundlerepo.
quark added a comment.
In https://phab.mercurial-scm.org/D468#7846, @mbolin wrote:
> @quark Rather than exposing the additional keyword argument now, why don't
we wait until there is a compelling use-case to use something other than `~`?
As it stands, creating an API for this would just
durham abandoned this revision.
durham added a comment.
Duplciate
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D497
To: durham, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercur
durham abandoned this revision.
durham added a comment.
Duplicate
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D495
To: durham, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercur
durham abandoned this revision.
durham added a comment.
Duplicate
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D496
To: durham, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercur
durham created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
A future patch will refactor certain parts of bundlerepo initiatlization such
that we need to create temp bundles from another function. Let's move this to
anothe
durham created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
Previously, iterparts would yield the part to users, then consume the part.
This
changed the part after the user was given it and left it at the end, both of
whi
durham created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
This moves the bundle2 part handling for bundlerepo out to a separate function
so extensions can participate in bundlerepo setup when using bundle2 bundles.
REPOSI
mbolin requested review of this revision.
mbolin added a comment.
@quark Rather than exposing the additional keyword argument now, why don't we
wait until there is a compelling use-case to use something other than `~`? As
it stands, creating an API for this would just open things up to misuse
phillco updated this revision to Diff 1211.
phillco edited the summary of this revision.
phillco retitled this revision from "filemerge: pass `wctx` to all internal
merge tool functions" to "filemerge: add wctx to all internal tools".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https:
quark requested changes to this revision.
quark added a comment.
This revision now requires changes to proceed.
Back to you to add the keyword argument.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D468
To: mbolin, #hg-reviewers, quark, durin42
Cc: smf, mercuri
durham added a comment.
I agree it's brittle, but no more brittle than before, since we still had to
seek back.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D289
To: durham, #hg-reviewers, indygreg
Cc: martinvonz, indygreg, mercurial-devel
quark added a comment.
In https://phab.mercurial-scm.org/D468#7833, @smf wrote:
> Basically, I'd like a more unified approach for all types of temp files
(commit message, histedit, conflicts, etc).
I think this patch is about low-level `util` function that shouldn't be
coupled wi
smf added a comment.
In https://phab.mercurial-scm.org/D468#7748, @durin42 wrote:
> I don't object to this, but maybe others do. Reviewers not on vacation,
please feel encouraged to push this.
Well, I had some objections on the mailing list. It's sad that those don't
show up in p
pulkit abandoned this revision.
pulkit added a comment.
There is work ongoing on improving copytrace in fb-hgext. I will resend
patches with updated copytrace logic once the work is done.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D358
To: pulkit, #hg-review
quark created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
https://phab.mercurial-scm.org/D30 makes the error message unpredictable,
therefore the fix.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm
krbullock added inline comments.
INLINE COMMENTS
> martinvonz wrote in bundlerepo.py:322
> I think we usually use a "fn" prefix for function arguments. I think "readfn"
> would be clearer.
I agree, but as it is, this is simple code movement. Usually we like renames to
be done in separate chang
akushner added a comment.
@martinvonz - a reasonable first pass would be to whitelist known
contributors for CI runs.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D422
To: dsp, #hg-reviewers, quark
Cc: akushner, martinvonz, quark, mercurial-devel
mbolin updated this revision to Diff 1209.
mbolin added a comment.
Minor fix.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D493?vs=1208&id=1209
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D493
AFFECTED FILES
mercurial/dirstat
mbolin created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
This replaces patterns such as this:
if f in self._copymap:
del self._copymap[f]
with this:
self._copymap.pop(f, None)
Although elimin
martinvonz added a comment.
In https://phab.mercurial-scm.org/D422#7804, @quark wrote:
> Maybe we should set up CI on Phabricator.
Yes, I've also suggested that. The concern was sandboxing, so we can run
tests from untrusted people. I have no experience setting something like that
quark requested changes to this revision.
quark added a comment.
This revision now requires changes to proceed.
Maybe we should set up CI on Phabricator.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D422
To: dsp, #hg-reviewers, quark
Cc: martinvonz, quark, merc
martinvonz added inline comments.
INLINE COMMENTS
> bundle2.py:811
> +# code consuming this generator has a part that starts at 0.
> part.seek(0, 2)
> +part.seek(0)
Unrelated to this patch, but seems like we should define constants for
"whence". I don't thin
martinvonz added inline comments.
INLINE COMMENTS
> bundlerepo.py:322
>
> +def _writetempbundle(self, read, suffix, header=''):
> +"""Write a temporary file to disk
I think we usually use a "fn" prefix for function arguments. I think "readfn"
would be clearer.
REPOSITORY
rHG Me
martinvonz added a comment.
In https://phab.mercurial-scm.org/D422#7797, @martinvonz wrote:
> In https://phab.mercurial-scm.org/D422#7795, @martinvonz wrote:
>
> > Looks like you didn't run test-help.t. I'll fix it in flight, but please
run all tests next time.
>
>
> ...an
martinvonz added a comment.
In https://phab.mercurial-scm.org/D422#7795, @martinvonz wrote:
> Looks like you didn't run test-help.t. I'll fix it in flight, but please
run all tests next time.
...and test-completion.t and test-qrecord.t
REPOSITORY
rHG Mercurial
REVISION DETAIL
martinvonz added a comment.
Looks like you didn't run test-help.t. I'll fix it in flight, but please run
all tests next time.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D422
To: dsp, #hg-reviewers, quark
Cc: martinvonz, quark, mercurial-devel
___
On 23/08/2017, 15:26, "Kevin Bullock" wrote:
> On Aug 23, 2017, at 06:05, Mark Thomas wrote:
>
> Hi,
>
> I’m looking at implementing path conflict handling, as the lack of it has
caused a few bugs, including
https://urldefense.proofpoint.com/v2/url?u=https-3A__bz.mercuri
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
ctx._dirstatestatus() is called only from workingctx._buildstatus()
and that function, in turn, is called only from
basectx.status(). basectx.status() will al
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
This just makes it a little easier to follow and removes the need to
call the superclass's method in workingctx.
REPOSITORY
rHG Mercurial
REVISION DETAIL
martinvonz added a comment.
In https://phab.mercurial-scm.org/D472#7758, @quark wrote:
> In https://phab.mercurial-scm.org/D472#7756, @lothiraldan wrote:
>
> > All users of wrapfunction will need to be updated anyway to use the
context manager style
>
>
> I think only those who
quark added a comment.
I think it might make sense to only apply it to manifest and changelog.
Filelogs are usually short and probably do not need it.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D477
To: mbthomas, #fbhgext, indygreg, #hg-reviewers, durin42
Cc
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG800bb35d891e: pushvars: do not mangle repo state (authored
by quark).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D423?vs=1019&id=1203
REVISION DETAIL
https:
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGe5d104c35e51: morestatus: check whether the conflict
message is None before printing (authored by pulkit).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D461?vs=1
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG13dc7f29531e: exchange: don't attempt phase exchange if
phase-heads was in bundle (authored by martinvonz).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D440?vs=
quark added inline comments.
INLINE COMMENTS
> indygreg wrote in util.py:413
> Some consumers may want file like objects. Others may want buffers.
>
> Whatever you do, I would rename the function to what it actually does. e.g.
> ``mmapfd`` or ``mmapbuffer``.
I think we can take both:
fd = g
durin42 requested changes to this revision.
durin42 added a comment.
Also, please include at least one `log` invocation or similar in a test with
the config knob set? And maybe some rough benchmark results in the commit
message to justify the feature. :)
REPOSITORY
rHG Mercurial
REVISION
quark added a comment.
In https://phab.mercurial-scm.org/D472#7756, @lothiraldan wrote:
> All users of wrapfunction will need to be updated anyway to use the context
manager style
I think only those who use the return value of wrapfunction will need change
(actually, new code is
lothiraldan added a comment.
Maybe instead of replacing wrapfunction with a context manager, what about
introducing it with a separate name? All users of wrapfunction will need to be
updated anyway to use the context manager style
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.me
durin42 accepted this revision as: durin42.
durin42 added a comment.
I don't object to this, but maybe others do. Reviewers not on vacation,
please feel encouraged to push this.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D468
To: mbolin, #hg-reviewers, quark
quark added inline comments.
INLINE COMMENTS
> mjpieters wrote in extensions.py:408-412
> Move this to `__enter__`. You want to be able to create the context manager
> separately from actually entering the context:
>
> cmwrapper = wrapfunction(cont, 'name', wrapper)
>
> # do other things
quark added a comment.
In https://phab.mercurial-scm.org/D451#7698, @yuja wrote:
> The point is these implementations would become invalid if `subset` were
> optimized to "any" order. That's breaking change, but which is likely to be
> not covered by tests.
How about making `
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG8d75b9effa07: bundle2: fixed usage of an attribute that was
removed in py3k (authored by alex.gaynor).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D482?vs=1164&
indygreg requested changes to this revision.
indygreg added a comment.
This revision now requires changes to proceed.
This seems reasonable as an experimental feature.
I worry about memory mapping all files without regards to size. That seems
unnecessary.
Do you know what happens wit
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG6a49c74b1e8f: releasenotes: add check flag for use of
admonitions and its validity (authored by rishabhmadan96).
CHANGED PRIOR TO COMMIT
https://phab.mercurial-scm.org/D368?vs=973&id=1200#toc
REPOSITO
lothiraldan added a comment.
Good for me.
I have the impression that we tend to defined static data (like
`pycompat.bytestr(string.ascii_letters)` or some translations) inside functions
while they could be defined once at module level. Is it intentional, is it for
reducing startup time?
krbullock accepted this revision.
krbullock added a comment.
Looks good, queued!
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D368
To: rishabhmadan96, #hg-reviewers, durin42, krbullock
Cc: krbullock, quark, durin42, mercurial-devel
_
indygreg added inline comments.
INLINE COMMENTS
> simonfar wrote in util.py:413
> As per comment on https://phab.mercurial-scm.org/D477 - do we want this to be
> raw, or `buffer(mmap.mmap(...`?
Some consumers may want file like objects. Others may want buffers.
Whatever you do, I would rename
# HG changeset patch
# User Boris Feld
# Date 1499088850 -7200
# Mon Jul 03 15:34:10 2017 +0200
# Node ID b8b8b5bd728a5fb9fa847d56dd489c77a054b5ee
# Parent fc257b24c35c492591f348b039d9e3f9488118a8
# EXP-Topic obsfatetemplate
template: compute dates in obsfatedate
Extract the dates from obsm
# HG changeset patch
# User Boris Feld
# Date 1502986172 -7200
# Thu Aug 17 18:09:32 2017 +0200
# Node ID 153f799f30f949735b7c1ae0d64209f83ea5baf1
# Parent 852ba8848f1cbab25b1f6cdd6574c51e16ef601e
# EXP-Topic obsfatetemplate
test: add more obsmarker tests for pruning scenarios
The obsfate o
# HG changeset patch
# User Boris Feld
# Date 1499096336 -7200
# Mon Jul 03 17:38:56 2017 +0200
# Node ID 852ba8848f1cbab25b1f6cdd6574c51e16ef601e
# Parent b8b8b5bd728a5fb9fa847d56dd489c77a054b5ee
# EXP-Topic obsfatetemplate
template: better prune support in obsfate
successorssets don't ret
# HG changeset patch
# User Boris Feld
# Date 1499088840 -7200
# Mon Jul 03 15:34:00 2017 +0200
# Node ID fc257b24c35c492591f348b039d9e3f9488118a8
# Parent 8c1da4748240142e1ee62521279cf8556192c79e
# EXP-Topic obsfatetemplate
template: compute user in obsfateusers
Extract, deduplicate users
1 - 100 of 144 matches
Mail list logo