charleso/git-cc

Dynamic view doesn't work anymore

spyropoulosl opened this issue · 1 comments

Hello,

I've been using git-cc for almost 2 years working against dynamic views. The latest commits doesn't work. The exception is:
$ gitcc rebase
> git ls-files --modified
> cleartool update
Traceback (most recent call last):
File "d:/Tools/git-cc/gitcc", line 48, in
main()
File "d:/Tools/git-cc/gitcc", line 14, in main
return invoke(cmd, args)
File "d:/Tools/git-cc/gitcc", line 38, in invoke
cmd.main(_args)
File "d:\Tools\git-cc\rebase.py", line 35, in main
cc_exec(["update"])
File "d:\Tools\git-cc\common.py", line 50, in cc_exec
return popen('cleartool', cmd, CC_DIR, *_args)
File "d:\Tools\git-cc\common.py", line 60, in popen
raise Exception((stderr + stdout).decode(ENCODING))
Exception: cleartool: Error: 'V:\path\to\dynamic\view' is not a valid snapshot view path.
The latest working commit I used is 80c5e69. After that I've tested some commits after without success.

For reference my gitcc config is:
[master]
clearcase = V:\path\to\dynamic\view
branches = main|a_branch

Can anyone validate the Dynamic views are broken?

Thanks,
Leonidas

This was broken from #50. I've just pushed a patch which will ignore update errors.

If that doesn't help, or something else is broken with the above PR I'm tempted to revert it.