19 messages in com.perforce.perforce-userPerforce wish list
FromSent OnAttachments
TomB...@ebc.ericsson.se19 Jan 1999 23:43 
BobA...@weblogic.com19 Jan 1999 23:57 
Paul...@zergo.com20 Jan 1999 01:10 
Sand...@hmmh.com20 Jan 1999 06:13 
Paul...@zergo.com20 Jan 1999 06:32 
chri...@natinst.comchris.bartz20 Jan 1999 08:12 
Brad...@enteract.com20 Jan 1999 08:19 
Andr...@placeware.com20 Jan 1999 08:52 
Scot...@seanet.com20 Jan 1999 10:36 
Stev...@qualcomm.com20 Jan 1999 10:57 
Scot...@seanet.com20 Jan 1999 11:18 
Davi...@home.chat.net20 Jan 1999 11:35 
Andr...@placeware.com20 Jan 1999 11:44 
Robe...@scrap.de21 Jan 1999 00:41 
Scot...@seanet.com21 Jan 1999 09:45 
Timo...@ftlsol.com21 Jan 1999 13:12 
Robe...@scrap.de21 Jan 1999 22:49 
Scot...@seanet.com22 Jan 1999 11:56 
Robe...@scrap.de24 Jan 1999 08:06 
Subject:Perforce wish list
From:Scot...@seanet.com (Scot@seanet.com)
Date:01/22/1999 11:56:11 AM
List:com.perforce.perforce-user

Branches already are in the depot name space, kind of. For example,

p4 integrate //depot/main/... //depot/release98.2/...

describes a branch from the "main" line to the "release98.2" line. It seems like the branch specs should be kept fairly simple lest confusion and spaghetti code lines set in :-).

Hi, that's right but it's not obvious, without invoking any further commands, that 'release98.2' is a branch from 'main'. You have to investigate this yourself, there is not even a hint that this is a branch from somewhere... that's something I'm missing. I would like to have something like a branch graph or so.

How about naming it like this:

p4 integrate //depot/main/... //depot/main_branches/release98.2/...

I was just suggesting that if you simplify it enough for a branch graph to be understandable, you might be able to just name the directories in such a way as to give you enough info, too. Depends on what you use the branches for, though - a branch graph might be useful for figuring when major development branches were created and when/where they got merged back into a main development line. But, since the branches apply to sets of files and you can do arbitrary branching/merging of individual files, I guess you could ask for a branch graph of an individual (representative) file...then use some discipline in how you do branching/mergings so the branch graph of the single file would represent the entire group of files described by the branch spec.

Did that make sense? Being relatively new (well...a year with no major releases) to Perforce, we have used branching much.

What about this:

p4 set P4CLIENT=NewClient

Hm, will this set the P4CLIENT only for the actual instance of Perforce or will it change the variable for other & new instances too?

It changes some values in the registry.

Example: I have two shells running and I want to switch the client, will the other shell recognize this change? I don't think so.

I forget the precedence of environment variables versus the 'p4 set' registry settings and 'p4 help set' says:

Currently, registry variable entries may be overriden by environment variables and (in some cases) flags on the command line.

[98.1 client/servers on NT have that misspelling of the word "overridden"]

but if you avoid using envars and set things with 'p4 set', it should be system wide. Actually, 'p4 set' has a '-s' switch to say whether or not the settings are system wide (HKEY_LOCAL_MACHINE) or per-user (HKEY_CURRENT_USER).

Maybe I haven't understand the meaning of the root thing.

If you have a client view spec like:

//depot/main/... //CLIENT/main/...

then the "main/..." is relative to the 'Root' of the client view. That way, you can relocate your sources without having to go change all the entries in your client view spec. I've noticed that things start getting a little confused (as to what files you really "have" - I think it forgets that you have some files or some such - I haven't experimented enough with it to figure out the specifics) if you go editing the 'view'...especially if you've got some files checked out when you do it. I haven't verified it, but I imagine that changing the 'Root' of the client spec wouldn't have such an effect. All that helps if you have multiple entries in your client 'view'.

I think it also makes use of "template clients" easier. If you've got a view that you want to keep consistent, you can use that view as a template for creation of other clients, then just edit the 'root' setting to locate the client directory tree on a system.

So...I imagine you can use UNC paths (but haven't verified) for the 'root' setting, but I don't think the syntax for the 'view' specs are up to it yet (but don't know for sure). I wonder if it'd work to set 'root' to 'null', then in the 'view', have something like this:

//depot/main/... //CLIENT/X:/main/...

for an absolute path starting with a drive letter or

//depot/main/... //CLIENT/Server/Share/main/...

for a UNC path to the "main" subdir of \\Server\Share - is there an existing use for that path component that would make "Server" ambiguous when 'Root: null'?