So i have a local clone and a central repository. Now I need to create local clones from the main clone and use them. The problem is the clone command is ignoring ( like it should the ignored files ).
But there are many configuration files in this case and i need a way for the local clone to copy everything , even the ignored files
- 
                        You can infact just make a copy of the clone using your normal filesystem commands. In Linux this could look like: $ cp -a repo repo-cloneThat will create a perfectly file "clone" of your Mercurial repository. The differences between cpandhg cloneare:- hg clonewill reuse space on your harddisk by using "hard links" between the files in the- .hgdirectory. This also makes- hg clonefaster for large repositories.
- hg clonewill also write a- .hg/hgrcfile with a default path pointing back to the source
- hg clonewill take care of locking the source and destination repositories as needed. This means that you must take care that noone is writing (pushing or committing) to the source while you copy it with- cp.
 From Martin Geisler
 
0 comments:
Post a Comment