Mercurial - convert normal repo to bare repo

I installed TortoiseHg with Mercurial. Another programmer in our department created a โ€œnormalโ€ hg repo a few months ago. Now I have to change this repo to naked. Is it possible?

+5
source share
1 answer

To create a bare repo when cloning uses the update flag no when cloning, i.e. hg clone --noupdate ...

To convert to a bare repo update before using the null branch hg update null

+9
source

Source: https://habr.com/ru/post/1209065/


All Articles