saeschdivara / Qt-Webframework

A framework to easily create web applications
MIT License
0 stars 1 forks source link

Error checking out branch 0.3 #2

Open israelins85 opened 11 years ago

israelins85 commented 11 years ago

Unable to find current revision in submodule path '3rdparty/Qt-Arango-DB-Driver'

Commands used: (I use SourceTree http://www.sourcetreeapp.com/)

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree pull --no-commit origin v0.3 From https://github.com/saeschdivara/Qt-Webframework

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree submodule update --init --recursive fatal: Needed a single revision Unable to find current revision in submodule path '3rdparty/Qt-Arango-DB-Driver' Completed with errors, see above

saeschdivara commented 11 years ago

Hey, I just started to use SourceTree on Windows (and you?) and cloned the repository. After that I checked out branch v0.3 and got an error with the submodule Tufao. If you don't see that I found a solution, try at least again the same thing to see if you got the same problem:

git -c diff.mnemonicprefix=false -c core.quotepath=false submodule update --init --recursive Submodule 'Qt-Arango-DB-Driver' (git@github.com:saeschdivara/Qt-Arango-DB-Driver.git) registered for path '3rdparty/Qt-Arango-DB-Driver'

Submodule '3rdparty/tufao' (git@github.com:saeschdivara/tufao.git) registered for path '3rdparty/tufao'

Cloning into '3rdparty/Qt-Arango-DB-Driver'...

Submodule path '3rdparty/Qt-Arango-DB-Driver': checked out '0ef21ec0ffcf789d526da67b2bf700194aceb93d'

Cloning into '3rdparty/tufao'...

fatal: reference is not a tree: 2b5c36232b30bf9a8e6fc5c61fe70ff85e39462f

Unable to checkout '2b5c36232b30bf9a8e6fc5c61fe70ff85e39462f' in submodule path '3rdparty/tufao'

saeschdivara commented 11 years ago

Ok, I should have solved the problem. For your information, it probably was that the submodules index's pointed to a local branch.

israelins85 commented 11 years ago

The error was changed...

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree submodule update --init --recursive fatal: Needed a single revision Unable to find current revision in submodule path '3rdparty/Qt-Arango-DB-Driver'

saeschdivara commented 11 years ago

Have you cloned my repository anew or did you use the one you had already cloned?