Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

fatal: Needed a single revision #6

Closed
anypic opened this Issue Sep 7, 2012 · 5 comments

Comments

Projects
None yet
4 participants

anypic commented Sep 7, 2012

$ git submodule update --init
Submodule 'libs/SVPullToRefresh' () registered for path 'libs/SVPullToRefresh'
Submodule 'libs/asi-http-request' () registered for path 'libs/asi-http-request'
Submodule 'libs/facebook' () registered for path 'libs/facebook'
Submodule 'libs/nimbus' () registered for path 'libs/nimbus'
fatal: Needed a single revision
Unable to find current revision in submodule path 'libs/nimbus'

JeeLiu commented Sep 7, 2012

here use the nimbus lib is old threee20 lib.

how do you run the submodules?

git submodule update --init??

anypic commented Sep 7, 2012

Clone in Mac downloaded linked submodules in libs. I had to delete the folders before running git submodule update --init.

$ git submodule update --init
Submodule 'libs/SVPullToRefresh' () registered for path 'libs/SVPullToRefresh'
Submodule 'libs/asi-http-request' () registered for path 'libs/asi-http-request'
Submodule 'libs/facebook' () registered for path 'libs/facebook'
Submodule 'libs/nimbus' () registered for path 'libs/nimbus'
Submodule path 'libs/SVPullToRefresh': checked out '1905fd433ec38dfbfb170872cdb90b3c23f1741e'
Submodule path 'libs/asi-http-request': checked out '3ed0b3c945937bb8e4b96c08bd3382d7839fb86e'
remote: Counting objects: 4641, done.
remote: Compressing objects: 100% (1377/1377), done.
remote: Total 4641 (delta 3230), reused 4408 (delta 3054)
Receiving objects: 100% (4641/4641), 4.86 MiB | 89 KiB/s, done.
Resolving deltas: 100% (3230/3230), done.
From https://github.com/facebook/facebook-ios-sdk
 * [new branch]      master     -> origin/master
 * [new branch]      preview    -> origin/preview
 * [new tag]         sdk-version-3.0.6.b -> sdk-version-3.0.6.b
 * [new tag]         sdk-version-3.0.8 -> sdk-version-3.0.8
From https://github.com/facebook/facebook-ios-sdk
 * [new tag]         archive-2012-03-master -> archive-2012-03-master
 * [new tag]         archive-2012-03-public -> archive-2012-03-public
 * [new tag]         sdk-version-3.0.0.b -> sdk-version-3.0.0.b
 * [new tag]         sdk-version-3.0.1.b -> sdk-version-3.0.1.b
 * [new tag]         sdk-version-3.0.2.b -> sdk-version-3.0.2.b
 * [new tag]         sdk-version-3.0.5.b -> sdk-version-3.0.5.b
 * [new tag]         sdk-version-3.0.7 -> sdk-version-3.0.7
 * [new tag]         v1.0       -> v1.0
 * [new tag]         v1.1       -> v1.1
 * [new tag]         v1.2       -> v1.2
 * [new tag]         v1.last    -> v1.last
Submodule path 'libs/facebook': checked out '682535050207c771706823cbf0fc31a206b12956'
fatal: Needed a single revision
Unable to find current revision in submodule path 'libs/nimbus'

anypic commented Sep 7, 2012

Deleting the nimbus folder and rerunning git submodule update --init fixed it.

Contributor

welschp commented Sep 10, 2012

The pull request that we just merged in should address this. Closing this issue; if the problem continues please let us know.

@welschp welschp closed this Sep 10, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment