implement personal reference
diff --git a/repo b/repo
index b8c414b..83ab888 100755
--- a/repo
+++ b/repo
@@ -2,8 +2,9 @@
 
 ## repo default configuration
 ##
-REPO_URL = 'https://gerrit.googlesource.com/git-repo'
-REPO_REV = 'stable'
+REPO_URL = 'ssh://mtksgt08:29418/git-repo'
+REPO_REV = 'mediatek/dev'
+LOCAL_CACHE = '{user_home}/.git-objects'
 
 # Copyright (C) 2008 Google Inc.
 #
@@ -216,6 +217,13 @@
                  dest='config_name', action="store_true", default=False,
                  help='Always prompt for name/e-mail')
 
+#MTK
+group = init_optparse.add_option_group('mtk customization options')
+group.add_option('--local-cache',
+                 dest='local_cache',
+                 help='personal reference location')
+
+
 class CloneFailure(Exception):
   """Indicate the remote clone of repo itself failed.
   """
@@ -757,6 +765,11 @@
         '--wrapper-version=%s' % ver_str,
         '--wrapper-path=%s' % wrapper_path,
         '--']
+
+  if LOCAL_CACHE:
+    cache = LOCAL_CACHE.format(user_home=os.environ['HOME'])
+    orig_args.insert(0, '--local-cache=%s' % cache)
+
   me.extend(orig_args)
   me.extend(extra_args)
   try: