Re: Mercurial and checking out test suite

On Dec 12, 2006, at 3:08 PM, Harry Halpin wrote:
>     Argh - I'm not very familiar with Mercurial, but what's the exact
> command and sequence of tasks needed to check the test harness out?

The test harness is primarily in CVS:

pbjam:~/w3ccvs/WWW/2001/sw/grddl-wg connolly$ cat CVS/Root
connolly@cvs.w3.org:/w3ccvs
pbjam:~/w3ccvs/WWW/2001/sw/grddl-wg connolly$ cat CVS/Repository
/w3ccvs/WWW/2001/sw/grddl-wg


Though just yesterday I made an hg repository copy at 
http://homer.w3.org:8123/ ;
it's not automatically sync'd when commits are made to the CVS 
repository.

It's just the GRDDL.py sample implementation that is primarily in hg.


>     I've got Chime's GRDDL.py working and would like to work on my
> XInclude test case.
>
>     But when I run:
>
>     hg pull http://homer.w3.org:8000/grddl-hg
>
>     I get:
>
> "abort: no repo found!"
>
>     ?
>     Despite the fact that when I go to the URI, there clearly seems to
> be a repo there. Any idea? Is my command wrong?

yes. The repo that's not found is the local one, not the remote one.
I should perhaps report this as an hg issue.

try:
  hg clone http://homer.w3.org:8000/grddl-hg my-grddl-hg

which is step 2 in the hg QuickStart
   http://www.selenic.com/mercurial/wiki/index.cgi/QuickStart


>     If we can figure this out, I'll write a quick HOWTO for everyone on
> installing the testsuite. Not kidding. It would help the WG if there
> were fairly idiot-proof instructions on installing the test-suite and
> the sample implementations.

I'm not sure it's really worth writing a HOWTO for the 4 or 5
test suite contributors, but I suppose it can't hurt.

Maybe put it near "How to run the tests" in
   http://www.w3.org/2001/sw/grddl-wg/td/testlist1

>        thanks!
>              harry
>



-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/

Received on Tuesday, 12 December 2006 20:32:50 UTC