Error discarding commits while using repo sync

1,986 views
Skip to first unread message

lambu0594

unread,
Jan 14, 2012, 1:45:10 AM1/14/12
to Repo and Gerrit Discussion
i have been building the android code for desire z. Everytime i use
repo sync to get new commits from github i get the following errors

sahil@Sahil:repo init -u git://github.com/Andromadus/android_cm.git -b
ics
sahil@Sahil:~/Android/system$ repo sync
Fetching projects: 100% (251/251), done.
Syncing work tree: 100% (251/251), done.

build/: discarding 2 commits
build/: discarding 12 commits
packages/apps/Trebuchet/: discarding 7 commits
sahil@Sahil:~/Android/system$ repo --version
repo version v1.7.8.2
(from https://android.googlesource.com/tools/repo)
repo launcher version 1.14
(from /home/sahil/bin/repo)
git version 1.7.0.4
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3]

Magnus Bäck

unread,
Jan 17, 2012, 2:02:31 AM1/17/12
to Repo and Gerrit Discussion
On Saturday, January 14, 2012 at 07:45 CET,
lambu0594 <sahil....@gmail.com> wrote:

> i have been building the android code for desire z. Everytime i use
> repo sync to get new commits from github i get the following errors
>
> sahil@Sahil:repo init -u git://github.com/Andromadus/android_cm.git -b
> ics
> sahil@Sahil:~/Android/system$ repo sync
> Fetching projects: 100% (251/251), done.
> Syncing work tree: 100% (251/251), done.
>
> build/: discarding 2 commits
> build/: discarding 12 commits
> packages/apps/Trebuchet/: discarding 7 commits

These are not errors per se, they just indicate that after the sync,
you "lost" a few commits in these gits. This can e.g. happen if the
new manifest that you get in conjunction with the sync now points to
another branch of these gits, or if you yourself have made commits on
detached heads in these gits. You could dig in the reflog ("git reflog")
of these gits to see more what actually happened.

[...]

--
Magnus Bäck Opinions are my own and do not necessarily
SW Configuration Manager represent the ones of my employer, etc.
Sony Ericsson

Reply all
Reply to author
Forward
0 new messages