title: Syncing a Local Directory to S3/SDB with Git or Mercurial
body: <p>I am looking for a solution in Python, since that is my programming language of choice.  Here's my problem:</p>
  
  <p>I am trying to sync a directory on a client's machine to S3/SDB.  It is maybe 20k-30k pdf files that total between 6 and 10GB.</p>
  
  <p>I was thinking about using a local database like SQL lite to keep track of files on the client machine, so that I could figure out what changes had been made since the last load.</p>
  
  <p>However, there are already some really awesome programs that do that kind of work, namely Hg and Git.</p>
  
  <p>Does anybody have any experience using a Git or Hg to watch for changes in a local filesystem?  </p>
  
  <p>As an added complication, I only have readonly access to this directory I need to upload, so I need some kind of way to monitor a directory that I can't actually put a ".hg" or ".git" folder in.</p>