diff options
Diffstat (limited to 'tools/update_proto_project.py')
-rwxr-xr-x | tools/update_proto_project.py | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/tools/update_proto_project.py b/tools/update_proto_project.py index e69de29bb..8f4fb6f89 100755 --- a/tools/update_proto_project.py +++ b/tools/update_proto_project.py @@ -0,0 +1,40 @@ +#!/usr/bin/python + +# +# Copyright 2013, Intel Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Library General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# native +''' +Created on 01 jui. 2013 + +@author: ronan@fridu.net +''' + + +import sys +import os + +try: + import git +except: + print "please install python-GitPython" + sys.exit( 1 ) + +repo = git.Repo( "wrt-bare" ) +print "repo.bare", repo.bare + +print "repo.tree( \"master\" )", repo.tree( "master" ), " ", repo.tree( "master" ).name + +print |