Error with gclient sync --force

76 views
Skip to first unread message

Alize Swane

unread,
Oct 28, 2012, 11:04:54 PM10/28/12
to chromium...@chromium.org
So i downloaded the tarball and unzipped it in the ~/chromium directory, added depot_tools, did the gclient config

but when i run the first gclient sync --force with the ~/src directory generated from the tarball i get this:

Error: Can't update/checkout /home/chromium/src if an unversioned directory is present. Delete the directory and try again.

that seems entirely counter intuitive to the reasoning behind bootstraping the tarball

and some help would be great!  :)

Gabriel Charette

unread,
Oct 28, 2012, 11:47:58 PM10/28/12
to thissocal...@gmail.com, chromium...@chromium.org
Hi Alize,

I've never bootstrapped so idk, but FWIW: this type of question is more likely to be answered on the chromium-dev mailing list than on chromium-discuss.

In general the best flow to download the source is probably: http://code.google.com/p/chromium/wiki/UsingNewGit

Cheers,
Gab


--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

Pavel Ivanov

unread,
Oct 28, 2012, 11:58:18 PM10/28/12
to thissocal...@gmail.com, chromium...@chromium.org
It's not counter-intuitive because bootstrapping tarball contains
versioned directories (you can check -- they all have .svn directory).
So you apparently mixed up some directories. Even in this email you
mention ~/chromium, ~/src and /home/chromium/src. Unless your username
is chromium /home/chromium/src is not the same as ~/src and is
definitely not a subdirectory of ~/chromium.

Pavel
Reply all
Reply to author
Forward
0 new messages