RFR: 8030681 : (s) add "serve" command and --quiet and --verbose options to hgforest
Mike Duigou
mike.duigou at oracle.com
Thu Mar 20 16:39:30 UTC 2014
On Mar 20 2014, at 01:53 , Magnus Ihse Bursie <magnus.ihse.bursie at oracle.com> wrote:
> On 2014-03-20 02:51, Mike Duigou wrote:
>> Hello all;
>>
>> This is a patch which adds support for the "serve" command to hgforest as well as providing --quiet and --verbose options.
>>
>> The serve command is particularly useful for sharing repos with virtual machines used for building/testing. Using "serve" is generally faster and has fewer problems than using shared filesystems (let me tell you! I if I have to delete one more .hg/store/lock file... Well, you don't want to know what would happen!)
>>
>> https://bugs.openjdk.java.net/browse/JDK-8030681
>>
>> http://cr.openjdk.java.net/~mduigou/JDK-8030681/2/webrev/
>
> I found this:
>
> # XXX mduigou I can't figure out how to make the root repo the serve "/" root.
>
> Is this something that ought to be fixed?
I wish I knew how. Despite fiddling with it extensively I was unable to convince hg to serve the top repo from
http://server:8000/
instead the top repo is:
http://server:8000/<top-repo>
I wanted to have the URL of the top repo displayed as part of the serve message but a) can't get hg to display it b) can't determine what the service address is going to be myself to construct the url.
It's a minor annoyance/limitation that people will get used to.
mike
More information about the build-dev
mailing list