git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-p4 issue

From
MHMichael Horowitz <michael.horowitz@ieee.org>
Date
Apr 15, 2011, 20:39 UTC
Message-ID
<BANLkTikDDDtyJB992DFNtvgMrGvbWf=rMw@mail.gmail.com>
In-Reply-To
<BANLkTimmVQAcx7hiQFUBcoAGdvPhktPuMg@mail.gmail.com>

I am sure that is a common mistake people make, but not in this case. I have been using it successfully for a while now, it just suddenly stopped working, not sure what changed. I am not seeing anything on remotes/p4/master either, and I was originally doing rebase and went back to sync so I could run "--verbose" and see if it was even downloading those changes. I can clearly see it says it is downloading them, but then they just don't end up in git.

Since I don't see an error message about it failing to sync, I am at a
loss to figure out why it says it succeeded, but it didn't.  Could
there be one step in the code that is not catching an error condition?
 I am not all that familiar with Python, but if someone could point me
where to put some debug messages, I can do some testing.
Thanks,
Mike
On Fri, Apr 15, 2011 at 4:22 PM, Tor Arvid Lund <torarvid@gmail.com> wrote:
Show 44 quoted lines
>
> On Fri, Apr 15, 2011 at 5:00 AM, Michael Horowitz
> <michael.horowitz@ieee.org> wrote:
> > Pete,
> >
> > I was hoping you could help me out again.  After using git-p4 for a
> > while without a problem, it has suddenly stopped working for me.  I am
> > using the latest master.  I haven't seen any recent changes that I
> > think could have caused this, but maybe you'll have some insight.
> >
> > The issue is that when I do a git-p4 sync on my existing repository,
> > it reports success, but seems to do nothing.  It does not download the
> > latest changes from p4.  If I delete my repository and start over, it
> > will download all the latest changes, even the ones it was not
> > downloading previously, but if I try to sync again later, it does not
> > do anything.  I tried running it with the "--verbose" mode, and I see
> > it says it is loading each of the changes, but they are not ending up
> > in the git repository, and it is not reporting any errors.
>
> Hi, Michael.
>
> Is it possible that you expect that 'git p4 sync' should update your
> working branch and/or working tree? Assuming a simple clone with a
> local master branch, running 'git-p4 sync' will update the branch
> remotes/p4/master, but it won't do anything on my working master
> branch...
>
> Maybe you want to call 'git rebase p4/master' afterwards, or use the
> shorthand 'git p4 rebase' to do a sync+rebase.
>
> Regards,
> Tor Arvid.
>
> > Any ideas of what this could be?  Is there anything else I can run to
> > help debug this?
> >
> > Thanks,
> >
> > Mike
> > --
> > To unsubscribe from this list: send the line "unsubscribe git" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
Previous: Tor Arvid LundNext: Pete Wyckoff
Message 3 of 13 in “git-p4 issue”
  1. Michael HorowitzApr 15, 2011
  2. Tor Arvid LundApr 15, 2011
  3. Michael HorowitzApr 15, 2011
  4. Pete WyckoffApr 16, 2011
  5. Vitor AntunesApr 18, 2011
  6. Michael HorowitzApr 19, 2011
  7. Vitor AntunesApr 19, 2011
  8. Pete WyckoffApr 20, 2011
  9. Michael HorowitzApr 20, 2011
  10. Vitor AntunesApr 20, 2011
  11. Michael HorowitzMay 6, 2011
  12. Vitor AntunesMay 13, 2011
  13. Michael HorowitzDec 17, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.