Clone specific version of source code

killall -9

Moderator: Developers

Post Reply
squelch41
New User
Posts: 4
Joined: Wed Aug 14, 2019 8:50 pm

Clone specific version of source code

#1

Post by squelch41 » Tue Oct 10, 2023 3:36 pm

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!

monuneha
New User
Posts: 2
Joined: Fri Oct 13, 2023 10:01 pm
Clan: neha monu

Re: Clone specific version of source code

#2

Post by monuneha » Fri Oct 13, 2023 10:46 pm

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,

squelch41
New User
Posts: 4
Joined: Wed Aug 14, 2019 8:50 pm

Re: Clone specific version of source code

#3

Post by squelch41 » Wed Oct 18, 2023 1:06 pm

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!

Post Reply