[Bug 6056] New: commit fails on non-generaldelta repositories

2019-01-21 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6056 Bug ID: 6056 Summary: commit fails on non-generaldelta repositories Product: Mercurial Version: stable branch Hardware: PC OS: Windows Status: UNCONFIRMED

mercurial@41297: 5 new changesets (5 on stable)

2019-01-21 Thread Mercurial Commits
5 new changesets (5 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/86f6b441adea changeset: 41293:86f6b441adea branch: stable user:Matt Harbison date:Fri Jan 18 23:13:04 2019 -0500 summary: help: modernize the example for command registration

Re: [PATCH 3 of 3 STABLE] rust: add comment about lack of wdirrev handling

2019-01-21 Thread Yuya Nishihara
On Mon, 21 Jan 2019 17:00:38 +0100, Georges Racinet wrote: > Le 20 janvier 2019 04:11:11 GMT+01:00, Yuya Nishihara a écrit > : > ># HG changeset patch > ># User Yuya Nishihara > ># Date 1547953056 -32400 > ># Sun Jan 20 11:57:36 2019 +0900 > ># Branch stable > ># Node ID

D5639: context: delete mistaken comment about return value of renamed()

2019-01-21 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The comment seems to think that the return value of renamed() is a tuple of source pathsx in the parents, but it's actually a pair of (rename source path,

D5290: branchmap: rename partial -> bcache

2019-01-21 Thread mjpieters (Martijn Pieters)
mjpieters added a comment. @yuja: you wanted separate commits, you got separate commits. :-) (and apologies for taking so long) REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5290 To: mjpieters, #hg-reviewers Cc: yuja, mercurial-devel

D5292: branchmap: make it easier for extensions not to break branchcache

2019-01-21 Thread mjpieters (Martijn Pieters)
mjpieters abandoned this revision. mjpieters added a comment. This would need more thought then; the evolve/topic/topicmap codebase wraps the whole branchmap.branchcache class and mucks about with a context manager to re-instate the right name in the branchmap globals so super() doesn't

D5638: branchmap: encapsulate cache updating in the map itself

2019-01-21 Thread mjpieters (Martijn Pieters)
mjpieters created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Rather than have a repository update the cache, move handling of cache updates into the branchmap module, in the form of a custom mapping class. This makes

D5637: branchmap: add some clarifications and clean up flow

2019-01-21 Thread mjpieters (Martijn Pieters)
mjpieters created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY - Remove indentation where it is not needed. - Swap the subset test branches to follow along logically and put the 'empty' case last. REPOSITORY rHG

D5635: branchmap: make branchcache responsible for reading

2019-01-21 Thread mjpieters (Martijn Pieters)
mjpieters created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Encapsulate reading in a classmethod, to make it clear what kind of object is being handled. This is part of a stack of refactoring changes to help

D5636: branchmap: updating triggers a write

2019-01-21 Thread mjpieters (Martijn Pieters)
mjpieters created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Rather than separate updating and writing, create a subclass that doesn't write on update. This minimises chances we forget to write out updates somewhere.

D5290: branchmap: rename partial -> bcache

2019-01-21 Thread mjpieters (Martijn Pieters)
mjpieters updated this revision to Diff 13329. mjpieters edited the summary of this revision. mjpieters retitled this revision from "branchmap: refactor for better encapsulation" to "branchmap: rename partial -> bcache". REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

Re: [PATCH 3 of 3 STABLE] rust: add comment about lack of wdirrev handling

2019-01-21 Thread Georges Racinet
Le 20 janvier 2019 04:11:11 GMT+01:00, Yuya Nishihara a écrit : ># HG changeset patch ># User Yuya Nishihara ># Date 1547953056 -32400 ># Sun Jan 20 11:57:36 2019 +0900 ># Branch stable ># Node ID 13c23396c7fe1633a2336b29e3a32b9b76274f28 ># Parent 66102f6fa10aa533a658532b198cd6879a538406

[PATCH STABLE] revlog: fix resolution of revlog version 0

2019-01-21 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1548076469 -32400 # Mon Jan 21 22:14:29 2019 +0900 # Branch stable # Node ID 498a5d7f8e19d6b430f300ff6687a92270022f81 # Parent 13c23396c7fe1633a2336b29e3a32b9b76274f28 revlog: fix resolution of revlog version 0 This partially backs out