hg pull (with branch name)
Alex Van Boxel
alex at vanboxel.be
Sat May 31 04:01:33 CDT 2008
Hi all,
first of all, I'm new to mercurial and distributed version management
systems, but I'm impressed :). Now I came across to some inconsistency
across products and was wondering if it was
a) a misconception of me
b) a bug in Mercurial.
c) a bug in the Mercurial plug-in for Hudson.
I'm trying to put together a demo to persuade our company to switch
version management system. So I put all our source in hg and made it
buildable. Everything seems to work ok, till I tried to make a build
task in Hudson (an extensible continuous integration engine
https://hudson.dev.java.net/) with the mercurial plug-in.
I made a task to build on of our branches, in this case XQXQ3.0 . What
is did is get the branch from the repository with every branch (I've
modelled the repository, so the culture shock will not be to great).
What I saw is that it only pulled the revision till the first revision
where the branch was created, so I did some experimenting with the
command line and I got the same result (see below). If it's a) a
misconception of me, then I think the people who designed the plug-in
for Hudson have the same. Anyone an idea? Thanks.
W:\HG\REP>hg branches
default 71:be8339994105
XQXQ3.2 70:df2166569290 (inactive)
XQXQ3.1 65:84af38e5361e (inactive)
XQXQ3.0 60:cca9f815298f (inactive)
XQXQ 3.0GA - April 2007 26:290e5c6fb7a5 (inactive)
W:\HG\build>hg init
W:\HG\build>hg pull -r XQXQ3.0 ..\REP
pulling from ..\REP
requesting all changes
adding changesets
adding manifests
adding file changes
added 32 changesets with 1283 changes to 1241 files
(run 'hg update' to get a working copy)
W:\HG\build>hg branches
XQXQ3.0 31:cca9f815298f
XQXQ 3.0GA - April 2007 26:290e5c6fb7a5 (inactive)
default 25:0aa75316cb38 (inactive)
W:\HG\build>hg version
Mercurial Distributed SCM (version 1.0.1+20080525)
_/
_/ Alex Van Boxel
More information about the Mercurial
mailing list