Split vcs into git_path and commit_id
authorLingchao Xin <lingchaox.xin@intel.com>
Wed, 18 Dec 2013 02:53:42 +0000 (10:53 +0800)
committerLingchao Xin <lingchaox.xin@intel.com>
Wed, 18 Dec 2013 02:55:26 +0000 (10:55 +0800)
commit863ca2e36ac05b500ff19f709084dd472271be65
treece08c69e3c26154fcd4bcfee45580be184dbb962
parent1b6a8909c9e8786a4ad3218ac16193b9272730a2
Split vcs into git_path and commit_id

Now vcs will hide, we provide git_path and commit_id instead.

And a little more, I reformat json dict structure, more beautiful than
before even though it can not satisfy me, maybe a new way should be
found to take a more pythonic writing.

Change-Id: Id6c065bf99519879f6c796eb23440e50c286b0f5
snapdiff/__init__.py
snapdiff/image.py
snapdiff/repo.py
snapdiff/templates/diff.html