from stgit import stack, git
-help = 'pull the changes from the remote repository'
+help = 'clone a remote repository into local storage'
usage = """%prog [options] <repository> <dir>
Clone a GIT <repository> into the local <dir> and initialise the
os.chdir(local_dir)
git.checkout(tree_id = 'HEAD')
- crt_series.init()
+ # be sure to forget any cached value for .git, since we're going
+ # to work on a brand new repository
+ basedir.clear_cache()
+ stack.Series().init()
print 'done'