public
Description: Bridge for Git and Clearcase
Homepage:
Clone URL: git://github.com/charleso/git-cc.git
git-cc / update.py
100644 12 lines (9 sloc) 0.284 kb
1
2
3
4
5
6
7
8
9
10
11
12
"""Update the git repository with Clearcase manually, ignoring history"""
 
from common import *
import sync, reset
 
def main(message):
    cc_exec(['update', '.'], errors=False)
    sync.main()
    git_exec(['add', '.'])
    git_exec(['commit', '-m', message])
    reset.main('HEAD')