Git Product home page Git Product logo

Comments (7)

hitenc avatar hitenc commented on August 22, 2024

It seesms gitcc is run against a view-private file. Identify that file and remove. Then try again

from git-cc.

charleso avatar charleso commented on August 22, 2024

@djraags What path did you specify on git-cc init? That's being used to run cleartool lsh, but it looks like you've used . which is incorrect - it should be an absolute path.

from git-cc.

kgf684 avatar kgf684 commented on August 22, 2024

Charleso, i did give abs path. here is the snapshot of commands i have tried.

KGF684@KGF684-02 /h/Tools/git-cc-master/git-cc-master
$ cd framework/

KGF684@KGF684-02 /h/Tools/git-cc-master/git-cc-master/framework
$ ls

KGF684@KGF684-02 /h/Tools/git-cc-master/git-cc-master/framework
$ git init
Initialized empty Git repository in h:/Tools/git-cc-master/git-cc-master/framewo
rk/.git/

KGF684@KGF684-02 /h/Tools/git-cc-master/git-cc-master/framework (master)
$ ../gitcc init /c/C
CC_Control/ CSR_uEnergy_SDK-2.4.3.26/ ca
CC_Snapshots/ Convert/ cygwin/

KGF684@KGF684-02 /h/Tools/git-cc-master/git-cc-master/framework (master)
$ ../gitcc init /c/CC_Snapshots/KGF684_view9/

git config core.autocrlf false

KGF684@KGF684-02 /h/Tools/git-cc-master/git-cc-master/framework (master)
$ ../gitcc rebase

git ls-files --modified
cleartool update
git log -n 1 --pretty=format:%ai master_cc
cleartool ls -recurse -short .
Traceback (most recent call last):
File "../gitcc", line 48, in
main()
File "../gitcc", line 14, in main
return invoke(cmd, args)
File "../gitcc", line 38, in invoke
cmd.main(_args)
File "h:\Tools\git-cc-master\git-cc-master\rebase.py", line 38, in main
cache.start()
File "h:\Tools\git-cc-master\git-cc-master\cache.py", line 22, in start
self.initial()
File "h:\Tools\git-cc-master\git-cc-master\cache.py", line 32, in initial
self.read(cc_exec(ls))
File "h:\Tools\git-cc-master\git-cc-master\common.py", line 50, in cc_exec
return popen('cleartool', cmd, CC_DIR, *_args)
File "h:\Tools\git-cc-master\git-cc-master\common.py", line 62, in popen
raise Exception(decodeString(encoding, stderr + stdout))
Exception: cleartool: Error: Pathname is not within a VOB: "."

from git-cc.

kgf684 avatar kgf684 commented on August 22, 2024

@hitenc : I dont have any private files, even than i see this error.

from git-cc.

charleso avatar charleso commented on August 22, 2024

@djraags Hmm. I might be mis-reading, but did you type gitcc init twice?

In any case what's in your .gitcc file under the clearcase flag? Try switching to that directory and running cleartool lshistory manually. That's all git-cc is trying to do, so I suspect something is wrong with the configuration.

from git-cc.

rohinigajawada avatar rohinigajawada commented on August 22, 2024

Hi,

Did you complete the migration of CC to GIT using this.

Need help in migrating clearcase to GIT using this git-cc

~Roh

from git-cc.

amousa1968 avatar amousa1968 commented on August 22, 2024

Yes I did and I scripted it in bash script. Therefore you need few things to have before migration. 1- need to have the list of items of the configspec for the vob, then the elements, and Release tip labels.

Run the script you will be able to migrate from CC to Git. I am free to take on the next project to migrate if your company is looking for consultant. Message me.

from git-cc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.