On May 28, 11:40 am, Sapna <sapnavemp...@gmail.com> wrote:

> I am trying to do 'git pull' to an existing workspace. I did the
> following initially (init/sync/checkout). Now every 1 minute, I want
> to pull the content from the remote repo, and compare the commit IDs
> with the previous list of commit IDs. If the commit IDs differ (ie
> there is new content), then execute the build.
>
> These are the commands I use. I want to make sure I am using the right
> once, because though I see that there are new commits, when I do the
> pull, it says its upto date. Am I using the right parameters ?
>
> initial commands when the workspace was created,
>
> repo init -u 
> git://mobcom-git.sj.broadcom.com/git_repos/repo_eclair/platform/manifest.git
> -b eclair
> repo sync
> repo forall -c "git checkout -b google_code android-2.1_r2"
>
> After that, every minute I am doing the pull as,
> repo forall -c "git pull 
> git://mobcom-git.sj.broadcom.com/git_repos/repo_eclair/platform/manifest.git
> android-2.1_r2  --tags"
>
> Is this the right command ?

I had to google to figure out what that "repo" thing means.
The problem is that this tool appears to be some contraption made by
Android developers (or someone else). Git does not have a command
named "repo".
Therefore I suspect you might have better luck asking about this on
resources dedicated to Android.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to