Re: git p4 sync not reflecting mail address changes
- From
- Mazo, Andrey <amazo@checkvideo.com>
- Date
- Mar 18, 2019, 18:02 UTC
- Message-ID
- <20190318180207.11604-1-amazo@checkvideo.com>
- In-Reply-To
- <273b5fcdf5a59409f1533c2f8a4d71ed99750eef.camel@gmx.de>
Show 21 quoted lines
> > Hello, > > we are periodically doing a 'git p4 sync' on a p4 clone that was initially > created by 'git p4 clone --bare //DEPOT'. Now on P4 side the mail addresses have > changed, but git still uses the old addresses. > p4 users already shows the new addresses but new changes in the git log are > showing the old addresses. > > There is > https://git-scm.com/docs/git-p4#Documentation/git-p4.txt-git-p4mapUser > to remap users but afaik there is no mapping at all right now. > > I tried > > mapUser = SomeUser = Some User <some.user@local> > > but also with this configuration new changes synced are showed as > some.user@oldlocal. > > We are not submitting back to P4, this is just a readonly git p4 clone.
I've just run into the same problem today. You need to delete (or rename) "$HOME/.gitp4-usercache.txt" (on Windows, it's under %USERPROFILE% as far as I can tell) and repeat clone/sync.
Hope, this helps.
-- Andrey