Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear sirs

now i have two Repositories , one in my PC and other is in my USB flash , now how i sync between them

say i have edit the PC one and i commit it and now it became vers. 6 but the USB is still at ver. 5 , i want to transfer only the changes done after ver. 5 , the easy way that i delete USB one and create a clone , but the Repository is some large and takes a lot to clone so i want to sync the changes only

thanks all
bye
Posted

1 solution

Use the "Hg synchronize" menu option, then from the PC version you can set the remote repository to your flash drive and push the updated version. Then you must do an "update" from the flash drive to get all the same files checked out.

You should be able to do it the other way around too - set the remote on the flash drive to the PC location, then pull and update.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900