Page 1 of 1

Clone specific version of source code

Posted: Tue Oct 10, 2023 3:36 pm
by squelch41
Hi,
I'm trying to rebuild my zandronum pi server.
I want to clone and build the source version that matches the current latest windows testing binary (231006-0318)

I've done hg clone https://hg.osdn.net/view/zandronum/zandronum-stable zandronum

When I build it, the server version is 230808-1556

How do I clone either the 231006-0318 or, clone another version for which there is a windows build eg 221030-0316 ?
Thanks!

Re: Clone specific version of source code

Posted: Fri Oct 13, 2023 10:46 pm
by monuneha
you can use the hg update command followed by the changeset or tag corresponding to the desired version.
Ex..

Code: Select all

hg clone https://hg.osdn.net/view/zandronum/zandronum-stable zandronum
cd zandronum
hg update -r 231006-0318
I hope it helps,

Re: Clone specific version of source code

Posted: Wed Oct 18, 2023 1:06 pm
by squelch41
hehe, thanks, had literally just logged back in to say had solved ;)

To match the current windows binary version (3.2-alpha 230709-1914) to match the windows testing build I did
hg clone https://hg.osdn.net/view/zandronum/zandronum-stable zandronum -u 89bccf7127ba

but the way you posted looks much better!