Re: git p4 sync not reflecting mail address changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> 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




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux