Patchwork [6,of,6] bundlerepo: mark internal-only config variable

login
register
mail settings
Submitter Matt Mackall
Date July 16, 2015, 5:36 p.m.
Message ID <7a7c28d3251ee3c374eb.1437068162@ruin.waste.org>
Download mbox | patch
Permalink /patch/10018/
State Accepted
Commit 5418dd5be8ac1d8b118992f1fa2190118d70de83
Headers show

Comments

Matt Mackall - July 16, 2015, 5:36 p.m.
# HG changeset patch
# User Matt Mackall <mpm@selenic.com>
# Date 1435272204 18000
#      Thu Jun 25 17:43:24 2015 -0500
# Node ID 7a7c28d3251ee3c374eb94cce51bf1b5b593fb05
# Parent  9356be27301fc4c0fbb9197cd0439703323b5d35
bundlerepo: mark internal-only config variable

Patch

diff -r 9356be27301f -r 7a7c28d3251e mercurial/bundlerepo.py
--- a/mercurial/bundlerepo.py	Thu Jun 25 17:42:45 2015 -0500
+++ b/mercurial/bundlerepo.py	Thu Jun 25 17:43:24 2015 -0500
@@ -346,6 +346,7 @@ 
 def instance(ui, path, create):
     if create:
         raise util.Abort(_('cannot create new bundle repository'))
+    # internal config: bundle.mainreporoot
     parentpath = ui.config("bundle", "mainreporoot", "")
     if not parentpath:
         # try to find the correct path to the working directory repo