• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Perforce with multiple depots
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Perforce with multiple depots


  • Subject: Re: Perforce with multiple depots
  • From: "David Bernat" <email@hidden>
  • Date: Tue, 6 Dec 2005 09:22:08 -0800

Follow-up... the passwords also seem to be getting stored in my keychain, and the keychain only seems capable of storing one perforce password at a time.

How many places do we need my perforce password stored? I mean, it's already stored in plain text in my project file... what's the point of putting it in the keychain as well?

rock on
dave

On Dec 5, 2005, at 5:08 PM, David Bernat wrote:

The Xcode UI makes it seem like it's possible to have different projects backed by different Perforce depots, but in reality that doesn't seem to be the case. The problem I'm experiencing goes like this:

1. I create a new project and set it up to connect to one perforce depot (foo.com:1000), entering the correct p4 tool path, username, password and client.
2. I create a second project and set it up to connect to a different perforce depot (foo.com:2000), entering everything correctly as in step 1.


Project 1 works fine, I can connect to the p4 server and all is well. Project 2 gives me a sheet saying "SCM Error, Perforce password (P4PASSWD) invalid or unset." If I go back to edit my SCM settings in Project 2, I find the password field is blank. I enter the correct password and hit OK. I hit "Edit..." again, and the password I just entered is missing.

So, yeah, the password is missing or incorrect. I just can't seem to make it stick when I enter it.

Meanwhile, project 1 continues to work fine. My SCM info seems to be stored in a couple different places. One is in the com.apple.xcode preferences file, which contains keys perforceUser, perforceClient, perforceDepot and PBXPerforceToolPath. The other is in my projects' .pbxuser files, which contain an scmConfiguration block with keys perforceClient, perforceDepot, perforcePassword, perforceToolPath and perforceUserName.

The only projects that appear to keep the password I enter are those where I've entered the same depot as is entered in com.apple.xcode. I can't prevent Xcode from saving entries in its preferences file, so I'm kinda stuck. Any ideas on how I can work around this?

rock on
dave
email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40intuit.com


This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Perforce with multiple depots
      • From: Tom Naughton <email@hidden>
References: 
 >Perforce with multiple depots (From: "David Bernat" <email@hidden>)

  • Prev by Date: C++ in precompile
  • Next by Date: Re: C++ in precompile
  • Previous by thread: Perforce with multiple depots
  • Next by thread: Re: Perforce with multiple depots
  • Index(es):
    • Date
    • Thread