Create a "clean" repository instance (for server)
Robert Altman
robert at altmansoftwaredesign.com
Thu Nov 17 11:25:34 CST 2011
What is the best way to move a repository to a server? Quite
frequently, I create a new repositories (for a new projects) locally
and then want to migrate my centralized copy to a server. What I've
done in the past is to use hg serve to publish my working repository
and then hg clone on the server to the repository; then I can quit hg
serve on my computer and add the server repository instance to
hgweb.config. Ideally, I would like to clean up the existing working
copies so that the repository is pristine: no local files, branch
markers, parents, etcetera.
Suggestions?
Robert
More information about the Mercurial
mailing list