charleso / git-cc

Bridge for Git and Clearcase

This URL has Read+Write access

git-cc / update.py
bc182316 » charleso 2009-01-28 Added update command for pe... 1 """Update the git repository with Clearcase manually, ignoring history"""
2
3 from common import *
4 import sync, reset
5
6 def main(message):
f0b0fb8c » charleso 2009-02-11 Error handling on cleartool... 7 cc_exec(['update', '.'], errors=False)
ef04f739 » Alexei Strots 2009-06-09 Fix of gitcc update 8 sync.main()
bc182316 » charleso 2009-01-28 Added update command for pe... 9 git_exec(['add', '.'])
10 git_exec(['commit', '-m', message])
11 reset.main('HEAD')