title: use hg to synchronize my project between my two computer
body: <p>I have two computer : the desktop in my company and the portable computer in my home.</p>
  
  <p>Now I want to use the hg to synchronize the project between them using a "USB removable disk".</p>
  
  <p>So I wonder how to implement it?</p>
  
  <p>THe pro in my desktop is : D:\work\mypro.</p>
  
  <p>I use the following command to init it:</p>
  
  <pre><code>hg init
  </code></pre>
  
  <p>Then I connect to the USB disk whose volume label is "H",and get a clone using:</p>
  
  <pre><code>cd H:
  hg init
  hg clone D:\work\mypro mypro-usb
  </code></pre>
  
  <p>ANd in my portable computer I use:</p>
  
  <pre><code>cd D:
  hg clone H:\mypro-usb mypro-home
  </code></pre>
  
  <p>However I do not know how to do if I modify some files(remove or add and modify) in the mypro-home,how to make the mypro-usb changed synchronizely,also I want the mypro in my desktop synchronizely.</p>
  
  <p>How to do it?</p>
  
  <p>---------------The following is added after I get an answer from richj----------------</p>
  
  <p>to richj:</p>
  
  <p>Thanks for your reply.</p>
  
  <p>The following is my practice： Pro-Com is the project(initialized as a repository) in my desktop, Pro-USB is the repository in my USB, the Pro-Home is the repository in my home computer.</p>
  
  <p>When I make some change in the Pro-Com, I use the following command:</p>
  
  <pre><code>hg add
  hg push Pro-USB
  </code></pre>
  
  <p>Then I change the directory to Pro-USB,using:</p>
  
  <pre><code>hg update
  hg push Pro-Home
  </code></pre>
  
  <p>In my home computer I run:</p>
  
  <pre><code>hg update
  (make some edition)
  hg commit
  hg push Pro-USB
  </code></pre>
  
  <p>Then the repository in the USB is the same as that of my home computer,I can push it to my desktop.</p>
  
  <p>In my opinion,operation between repository can be done just by "hg push" and "hg pull",the other commands like "hg update" "hg import" just work between a working-copy and its repository.</p>
  
  <p>Is my understanding right?</p>