[p4] Using current directory as client root?

Calman, Kevin Kevin.Calman at acs-inc.com
Thu Jan 17 18:08:24 PST 2008


Have you tried setting the root of a hostless, generic client to '.' ? I
believe that has worked for me.
--
Opinions herein are exclusively my own, unless you share them.
Kevin Calman, kevin.calman at acs-inc.com, +1-512-671-2647

"CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure, or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message."

 

| -----Original Message-----
| From: perforce-user-bounces at perforce.com 
| [mailto:perforce-user-bounces at perforce.com] On Behalf Of Roy Smith
| Sent: Wednesday, January 16, 2008 9:48 PM
| To: Robert Cowham
| Cc: 'Perforce User'
| Subject: Re: [p4] Using current directory as client root?
| 
| Yeah, this sounds like mostly what I'm looking for.  It's still  
| annoying that you have to create a transient clientspec, though.
| 
| 
| On Jan 16, 2008, at 7:06 PM, Robert Cowham wrote:
| 
| > Sounds like that might be addressed by:
| >
| > http://www.perforce.com/perforce/doc.072/user/relnotes.txt
| >
| > Release 2007.2.
| >
| > Major new functionality in 2007.2
| >
| > New 'p4 sync' option bypasses db.have updates - #111247 **
| >
| > 	    'p4 sync' now sports a '-p' option.  This allows the user to
| > 	    sync files without the server keeping track of it.  This
| > 	    option is very useful when populating  build clients or when
| > 	    publishing content when there is no requirement for saving
| > 	    the client workspace state.
| > 	    (Bug #22857).
| >
| > This would require the "create temporary client hack", but perhaps  
| > solve the
| > problem??
| >
| > Robert
| >
| >> -----Original Message-----
| >> From: perforce-user-bounces at perforce.com
| >> [mailto:perforce-user-bounces at perforce.com] On Behalf Of Roy Smith
| >> Sent: 16 January 2008 19:58
| >> To: Perforce User
| >> Subject: [p4] Using current directory as client root?
| >>
| >> I have a requirement (as part of our build system) to be able
| >> to get a set of files from the repository and have them
| >> written to any arbitrary directory.  Because the root path is
| >> embedded in the client spec, there doesn't seem to be any way
| >> to do this.
| >>
| >> We've played with all sorts of hacks.  We can create a
| >> symlink from the root path embedded in the client to where we
| >> really want the
| >> files.  We can create and destroy temporary client specs on
| >> the fly.
| >> But all these seem like hacks.  Surely there must be some
| >> simple way to say, "just put the files HERE".
| >>
| >> We don't need the workspace to be managed by perforce.  We'll
| >> never want to edit the files there, or submit any changes
| >> from there.  We just want a read-only copy of the source tree
| >> so we can build it.
| >
| >
| 
| -------------------
| Roy Smith <smith_roy at emc.com>
| Software Guy, EMC Common Management Group
| 44 South Broadway, 7th floor
| White Plains, NY 10601
| (914) 580-3427
| AIM: roysmith649
| _______________________________________________
| perforce-user mailing list  -  perforce-user at perforce.com
| http://maillist.perforce.com/mailman/listinfo/perforce-user
| 


More information about the perforce-user mailing list