[PATCH 4 of 4] py3: convert os.readlink() path to native strings

2018-09-26 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1537924572 14400 # Tue Sep 25 21:16:12 2018 -0400 # Node ID d7aa84fbb3da463c68190aa746cbc6af40c6b8bc # Parent 549bc25529a2d8d1c67736110c90491cc1eafc76 py3: convert os.readlink() path to native strings Windows insisted that it needs to be

[PATCH 3 of 4] py3: mask out None type when printing in `debuglocks`

2018-09-26 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538014885 14400 # Wed Sep 26 22:21:25 2018 -0400 # Node ID 549bc25529a2d8d1c67736110c90491cc1eafc76 # Parent e37a4df2bf1523b9f03ddbfe5db0209058e6c8f0 py3: mask out None type when printing in `debuglocks` Apparently, %b doesn't allow None.

[PATCH 2 of 4] py3: ensure standard exceptions use `str` type strings in windows.py

2018-09-26 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538011518 14400 # Wed Sep 26 21:25:18 2018 -0400 # Node ID e37a4df2bf1523b9f03ddbfe5db0209058e6c8f0 # Parent 88db05d80c8b8380861864e922ebea7567f372c2 py3: ensure standard exceptions use `str` type strings in windows.py See also

[PATCH 1 of 4] py3: replace a StandardError reference

2018-09-26 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538009368 14400 # Wed Sep 26 20:49:28 2018 -0400 # Node ID 88db05d80c8b8380861864e922ebea7567f372c2 # Parent 6037974f8abac9b5299eb6d18760c39b191d6ad5 py3: replace a StandardError reference This doesn't exist on py3, and the standard way of

D4774: wireprotov2: define semantics for content redirects

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg added a subscriber: sheehan. indygreg added a comment. @sheehan: patches in this series implement content caching and "redirect" support for Mercurial servers. We'll want to implement an S3-based content cache for use at Mozilla so we can cache things in S3 and then make that data

D4777: wireprotov2: server support for sending content redirects

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY A "content redirect" can be sent in place of inline response content. In terms of code, we model a content redirect as a special type of response object

D4778: wireprotov2: client support for following content redirects

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY And with the server actually sending content redirects, it is finally time to implement client support for following them! When a redirect response is seen,

D4776: wireprotov2: client support for advertising redirect targets

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY With the server now able to emit a redirect target descriptor, we can start to teach the client to recognize it. This commit implements support for

D4775: wireprotov2: advertise redirect targets in capabilities

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This is pretty straightforward. Redirect targets will require an extension to support. So we've added a function that can be wrapped to define redirect

D4769: debugcommands: print all CBOR objects

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY application/mercurial-cbor may contain multiple objects. Let's print all of them. REPOSITORY rHG Mercurial REVISION DETAIL

D4773: wireprotov2: support response caching

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY One of the things I've learned from managing VCS servers over the years is that they are hard to scale. It is well known that some companies have very beefy

D4774: wireprotov2: define semantics for content redirects

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY When I implemented the clonebundles feature and deployed it on hg.mozilla.org using Amazon S3 as a content server, server-side CPU and bandwidth usage dropped

D4772: wireprotov2: define type to represent pre-encoded object

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY An upcoming commit will introduce a caching layer to command serving. This will require the ability to cache pre-encoded data. This commit introduces a type

D4771: wireprotov2: change name and behavior of readframe()

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY In the near future, we will want to support performing I/O from other sources. Let's rename readframe() to readdata() and tweak its logic to support future

D4770: url: move _wraphttpresponse() from httpeer

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This is a generally useful function. Having it on the url module will make it more accessible outside of the HTTP peers. REPOSITORY rHG Mercurial REVISION

D4768: logtoprocess: define $HG for children processes

2018-09-26 Thread valentin.gatienbaron (Valentin Gatien-Baron)
valentin.gatienbaron created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY So they can compute the hg version for instance. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4768 AFFECTED FILES

D4767: exchangev2: recognize narrow patterns when pulling

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REVISION SUMMARY pulloperation instances were recently taught to record file include and exclude patterns to facilitate narrow file transfer. Teaching the exchangev2

D4766: fastcheckout: arguments to make checkout narrow

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This is similar to what the narrow extension does. The main difference is we don't have an explicit --narrow argument to opt into narrow: we assume

D4765: fastcheckout: extension for obtaining a checkout quickly

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REVISION SUMMARY One of the use cases for version control is in automated environments that just want to obtain a working directory for a specific revision as fast as

Re: caching pull - stable partitioning of bundle requests

2018-09-26 Thread Joerg Sonnenberger
On Wed, Sep 26, 2018 at 08:13:13PM +0200, Boris FELD wrote: > Then the client does a discovery to catch any missing changesets from > the bundle. If the server doesn't find a valid pull bundle, a normal > discovery is done. The manual bundle managements is suboptimal, the > search for appropriate

D4757: storageutil: extract revision number iteration

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG6037974f8aba: storageutil: extract revision number iteration (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4754: storageutil: move metadata parsing and packing from revlog (API)

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa6c5a9f36716: storageutil: move metadata parsing and packing from revlog (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4755: storageutil: move _censoredtext() from revlog

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa79c893162f0: storageutil: move _censoredtext() from revlog (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4756: storageutil: new function for extracting metadata-less content from text

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG15d588cfbf64: storageutil: new function for extracting metadata-less content from text (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4753: storageutil: new module for storage primitives (API)

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc78e9207f46f: storageutil: new module for storage primitives (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4752: filelog: return correct size when content begins with metadata prefix

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG91d2233d3dec: filelog: return correct size when content begins with metadata prefix (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4751: filelog: stop proxying deltaparent() (API)

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa269fa55467e: filelog: stop proxying deltaparent() (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4750: filelog: stop proxying rawsize() (API)

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd909c44d29e1: filelog: stop proxying rawsize() (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4750?vs=11405=11426

D4746: filelog: stop proxying flags() (API)

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG2ac4f3e97813: filelog: stop proxying flags() (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4746?vs=11401=11424

D4745: revlog: move revision verification out of verify

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG733db72f0f54: revlog: move revision verification out of verify (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4749: filelog: stop proxying "opener" (API)

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9596cf2a550d: filelog: stop proxying opener (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4749?vs=11404=11425

D4758: tests: de-flake test-narrow-debugrebuilddirstate.t

2018-09-26 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG01c0f01b562b: tests: de-flake test-narrow-debugrebuilddirstate.t (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4745: revlog: move revision verification out of verify

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 11417. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4745?vs=11400=11417 REVISION DETAIL https://phab.mercurial-scm.org/D4745 AFFECTED FILES mercurial/filelog.py mercurial/repository.py mercurial/revlog.py

D4747: revlog: add method for obtaining storage info (API)

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG14e500b58263: revlog: add method for obtaining storage info (API) (authored by indygreg, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D4747?vs=11402=11415#toc REPOSITORY

D4748: upgrade: use storageinfo() for obtaining storage metadata

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb399ff55ee6d: upgrade: use storageinfo() for obtaining storage metadata (authored by indygreg, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D4748?vs=11403=11416#toc

D4744: lfs: drop unused import

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb06303a208be: lfs: drop unused import (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4744?vs=11399=11414 REVISION DETAIL

mercurial@39838: 33 new changesets (4 on stable)

2018-09-26 Thread Mercurial Commits
33 new changesets (4 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/0ad5f064d829 changeset: 39806:0ad5f064d829 branch: stable user:Yuya Nishihara date:Tue Sep 25 23:06:02 2018 +0900 summary: test-ssh: show that stdio redirection doesn't work with

D4758: tests: de-flake test-narrow-debugrebuilddirstate.t

2018-09-26 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a reviewer: durin42. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY If the dirstate gets written much (usually 1-2 s, depending on FS) than the working copy file (there's only one), then the

D4757: storageutil: extract revision number iteration

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This code is a bit quirky (and possibly buggy). It will likely be used by multiple storage backends. Let's extract it so it is reusable. REPOSITORY rHG

D4754: storageutil: move metadata parsing and packing from revlog (API)

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Parsing and writing of revision text metadata is likely identical across storage backends. Let's move the code out of revlog so we don't need to import the

D4755: storageutil: move _censoredtext() from revlog

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This seems like generic functionality we'll want to use from non-revlog storage backends. REPOSITORY rHG Mercurial REVISION DETAIL

D4753: storageutil: new module for storage primitives (API)

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY There will exist common code between storage backends. It would be nice to have a central place to put that code. This commit attempts to create that place

D4756: storageutil: new function for extracting metadata-less content from text

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Other storage backends will want to do this. I'm not concerned about Python function call overhead because I expect self.revision() to dwarf the function

D4747: revlog: add method for obtaining storage info (API)

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We currently have a handful of methods on the file and manifest storage interfaces for obtaining metadata about storage. e.g. files() is used to obtain the

D4750: filelog: stop proxying rawsize() (API)

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This method is no longer used by external consumers. The API is quite low-level and is effectively len(revision(raw=True)). I don't see a compelling reason to

D4752: filelog: return correct size when content begins with metadata prefix

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY An inline TODO tracked this. And we were reminded of it when recently implementing storage integration tests. Let's fix it so we don't have to port the buggy

D4751: filelog: stop proxying deltaparent() (API)

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY deltaparent() obtains the revision number of the base revision a delta in storage is stored against. It is highly revlog-centric and may not apply to other

D4748: upgrade: use storageinfo() for obtaining storage metadata

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Let's switch to our new API for obtaining information about storage. This eliminates the last consumer of rawsize() and the opener proxy from the file

D4749: filelog: stop proxying "opener" (API)

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The last consumer of it in upgrade code was removed as part of the previous commit. This attribute is revlog specific (because it assumes the existence of a

D4745: revlog: move revision verification out of verify

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY File revision verification is performing low-level checks of file storage, namely that flags are appropriate and revision data can be resolved. Since

D4746: filelog: stop proxying flags() (API)

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Per-revision storage flags are kinda a revlog-centric API. (Except for the fact that changegroup uses the same integer flags as revlog does and there's minimal

D4744: lfs: drop unused import

2018-09-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY A recent change dropped the last user of this module. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4744 AFFECTED FILES

mercurial@39805: 7 new changesets (7 on stable)

2018-09-26 Thread Mercurial Commits
7 new changesets (7 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/f28812c708a5 changeset: 39799:f28812c708a5 branch: stable parent: 39547:41ac8ea1bdd7 user:Valentin Gatien-Baron date:Tue Sep 25 16:03:14 2018 -0400 summary: revset: fix

caching pull - stable partitioning of bundle requests

2018-09-26 Thread Boris FELD
Hi everyone, Pulling from a server involves expensive server-side computation that we wish to cache. However, since the client can pull any arbitrary set of revision, grouping and dispatching the data to be cached is ahard problem. When we implemented the new discovery for obsolescence

D4726: revlog: drop emitrevisiondeltas() and associated functionality (API)

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe23c03dc5cf9: revlog: drop emitrevisiondeltas() and associated functionality (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4727: filelog: drop _generaldelta attribute (API)

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG4b816a83e17e: filelog: drop _generaldelta attribute (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4722: revlog: new API to emit revision data

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG5a9ab91e0a45: revlog: new API to emit revision data (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4722?vs=11330=11393

D4721: changegroup: remove reordering control (BC)

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGdb5501d93bcf: changegroup: remove reordering control (BC) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4724: wireprotov2server: port to emitrevisions()

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG7b752bf08435: wireprotov2server: port to emitrevisions() (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4723: tests: use more complex file storage test

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc73f9f345ec0: tests: use more complex file storage test (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4723?vs=11352=11394

D4713: largefiles: automatically load largefiles extension when required (BC)

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG823a580448d7: largefiles: automatically load largefiles extension when required (BC) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4720: filelog: drop index attribute (API)

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd9b3cc3d5d07: filelog: drop index attribute (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4720?vs=11328=11391

D4718: manifest: add rawsize() proxy (API)

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9534fe1e5d28: manifest: add rawsize() proxy (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4718?vs=11326=11390

D4717: upgrade: report size of backing files, not internal storage size

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8dab7c8a93eb: upgrade: report size of backing files, not internal storage size (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4719: upgrade: use rawsize() instead of revlog index

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG32d3ed3023bb: upgrade: use rawsize() instead of revlog index (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4715: filelog: store filename directly on revlog instance

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG96838b620b9c: filelog: store filename directly on revlog instance (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4714: lfs: access revlog directly

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG62a532045e71: lfs: access revlog directly (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4714?vs=11322=11386 REVISION

D4711: localrepo: automatically load lfs extension when required (BC)

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG2c2fadbc9851: localrepo: automatically load lfs extension when required (BC) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4712: lfs: don't add extension to hgrc after clone or share (BC)

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGbcf72d7b1524: lfs: dont add extension to hgrc after clone or share (BC) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4708: localrepo: support writing shared file (API)

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd3d4b4b5f725: localrepo: support writing shared file (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4709: localrepo: define "features" on repository instances (API)

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd89d5bc06eaa: localrepo: define features on repository instances (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4707: localrepo: support shared repo creation

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG4ece3cdfd907: localrepo: support shared repo creation (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4707?vs=11315=11379

D4710: lfs: add repository feature denoting the use of LFS

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1f7b3b980af8: lfs: add repository feature denoting the use of LFS (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4705: localrepo: add missing join()

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd3e761f9ac0a: localrepo: add missing join() (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4705?vs=11313=11377 REVISION

D4704: revlog: use proper version comparison during verify

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe6d3d39cc1c7: revlog: use proper version comparison during verify (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4706: localrepo: validate directories before creating any

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb504ff813c4f: localrepo: validate directories before creating any (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4701: verify: start to abstract file verification

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG97986c9c69d3: verify: start to abstract file verification (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4703: filelog: stop proxying checksize() (API)

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG0cb3e02e1d1b: filelog: stop proxying checksize() (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4703?vs=11311=11375

D4702: filelog: remove version attribute (API)

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG68282a7b29a7: filelog: remove version attribute (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4702?vs=11310=11374

D4700: unionrepo: remove _constructmanifest()

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG39f51064e9f5: unionrepo: remove _constructmanifest() (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4700?vs=11308=11372

Re: [PATCH 1 of 4 STABLE] test-ssh: show that stdio redirection doesn't work with chg

2018-09-26 Thread Gregory Szorc
On Wed, Sep 26, 2018 at 7:01 AM Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1537884362 -32400 > # Tue Sep 25 23:06:02 2018 +0900 > # Branch stable > # Node ID 96ba53b29353d32ce6e23ba3ccf4a2c72b84e116 > # Parent 823f34acfd46eb74d362e819d1cc3475bf05bf2f >

[PATCH 3 of 4 STABLE] chgserver: update comment describing when to fall back to core _runsystem()

2018-09-26 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1537964465 -32400 # Wed Sep 26 21:21:05 2018 +0900 # Branch stable # Node ID 56a416fce073de56738286c469bf0931ebbddab2 # Parent 2a1d09ba204e9e7727286fdc0e8d7cfdeb22bb1d chgserver: update comment describing when to fall back to core

[PATCH 4 of 4 STABLE] chgserver: do not send system() back to client if stdio redirected (issue5992)

2018-09-26 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1537964654 -32400 # Wed Sep 26 21:24:14 2018 +0900 # Branch stable # Node ID 201b773dc53b0dfe2d6690858191352e62412fbc # Parent 56a416fce073de56738286c469bf0931ebbddab2 chgserver: do not send system() back to client if stdio redirected

[PATCH 2 of 4 STABLE] procutil: compare fd number to see if stdio protection is needed (issue5992)

2018-09-26 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1537962839 -32400 # Wed Sep 26 20:53:59 2018 +0900 # Branch stable # Node ID 2a1d09ba204e9e7727286fdc0e8d7cfdeb22bb1d # Parent 96ba53b29353d32ce6e23ba3ccf4a2c72b84e116 procutil: compare fd number to see if stdio protection is needed

[PATCH 1 of 4 STABLE] test-ssh: show that stdio redirection doesn't work with chg

2018-09-26 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1537884362 -32400 # Tue Sep 25 23:06:02 2018 +0900 # Branch stable # Node ID 96ba53b29353d32ce6e23ba3ccf4a2c72b84e116 # Parent 823f34acfd46eb74d362e819d1cc3475bf05bf2f test-ssh: show that stdio redirection doesn't work with chg Running

D4733: py3: cast exception to bytes

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGbce1c1af7518: py3: cast exception to bytes (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4733?vs=11361=11370 REVISION

D4743: encoding: remove unnecessary lambdas from _encodingfixers

2018-09-26 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9e8fcd2e78c1: encoding: remove unnecessary lambdas from _encodingfixers (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4731: py3: cast exception to bytes

2018-09-26 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG69b4a5b89dc5: py3: cast exception to bytes (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4731?vs=11349=11369 REVISION

Re: [PATCH 1 of 4] convert: fix a file descriptor leak

2018-09-26 Thread Yuya Nishihara
On Wed, 26 Sep 2018 00:06:01 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1537929978 14400 > # Tue Sep 25 22:46:18 2018 -0400 > # Node ID 9403d51284f4cab9b143612157c747fe13382c5b > # Parent 7a9e2d85f475b1675da537ece26419887f9d8b4e > convert: fix a file

D4742: revset: make heads(commonancestors(x + x^)) be x^, not x

2018-09-26 Thread valentin.gatienbaron (Valentin Gatien-Baron)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG823f34acfd46: revset: make heads(commonancestors(x + x^)) be x^, not x (authored by valentin.gatienbaron, committed by ). CHANGED PRIOR TO COMMIT

D4738: revset: make commonancestors(x + x^) be ::(x^), not ::x

2018-09-26 Thread valentin.gatienbaron (Valentin Gatien-Baron)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGcb5134f2318a: revset: make commonancestors(x + x^) be ::(x^), not ::x (authored by valentin.gatienbaron, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D4738?vs=11355=11364#toc

D4740: revset: reword commonancestor()'s help

2018-09-26 Thread valentin.gatienbaron (Valentin Gatien-Baron)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG0561e69ed9f1: revset: reword commonancestor()s help (authored by valentin.gatienbaron, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D4740?vs=11357=11367#toc REPOSITORY rHG

D4739: revset: remove part of the commonancestors() comment

2018-09-26 Thread valentin.gatienbaron (Valentin Gatien-Baron)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG3bc4fce0167f: revset: remove part of the commonancestors() comment (authored by valentin.gatienbaron, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D4739?vs=11356=11365#toc

D4741: revset: add tests of heads(commonancestors(..))

2018-09-26 Thread valentin.gatienbaron (Valentin Gatien-Baron)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG84c61c1593c4: revset: add tests of heads(commonancestors(..)) (authored by valentin.gatienbaron, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4737: revset: add test demonstrating a bug with commonancestor()

2018-09-26 Thread valentin.gatienbaron (Valentin Gatien-Baron)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG572cd30eaffb: revset: add test demonstrating a bug with commonancestor() (authored by valentin.gatienbaron, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4736: revset: fix commonancestor test so it demonstrates correct behavior

2018-09-26 Thread valentin.gatienbaron (Valentin Gatien-Baron)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf28812c708a5: revset: fix commonancestor test so it demonstrates correct behavior (authored by valentin.gatienbaron, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4738: revset: make commonancestors(x + x^) be ::(x^), not ::x

2018-09-26 Thread yuja (Yuya Nishihara)
yuja added a comment. Queued the series for stable, many thanks. > - # only wants the heads of the set passed in > - h = heads(repo, fullreposet(repo), x, anyorder) > - if not h: +startrevs = getset(repo, fullreposet(repo), x) I've resurrected the `anyorder` flag though that

Re: D4738: revset: make commonancestors(x + x^) be ::(x^), not ::x

2018-09-26 Thread Yuya Nishihara
Queued the series for stable, many thanks. > -# only wants the heads of the set passed in > -h = heads(repo, fullreposet(repo), x, anyorder) > -if not h: > +startrevs = getset(repo, fullreposet(repo), x) I've resurrected the `anyorder` flag though that wouldn't matter much in