windows - Moving hg repo folder using copy-paste? -


i have hg repo on local drive. new hg , want know if can move folder around freely. not talking folder under version control, talking folder contains repo self.

i've found lot of similar questions seem talking folder under version control. answer use hg clone want know if can cut , paste whole repo.

i using windows xp if matters.

yes, can copy repository copying .hg folder.

imagine following folder structure:

myrepo myrepo\.hg myrepo\file_under_version_control.txt 

myrepo whole repository (or called it, "folder under version control").

when remove .hg folder it, myrepo normal folder without version control.

when move .hg folder somewhere else, can create new working directory running hg update, new folder .hg resides complete repository again.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -