Re: [p4] P4V DVCS and applets
Craig <[email protected]>
| Newsgroups | gmane.comp.version-control.perforce |
|---|---|
| Message-ID | <[email protected]> |
Posted on behalf of forum user 'Craig'.
Thanks for the answer.
The p4ignore.txt is exactly where p4v puts it when initialising a local
repo (the .p4root appears to be reserved for the database so I
wouldn't expect an ignore file to be in there).
I have initialised a brand new local repo which only has centralsettings and a
test html file as follows
Using Initialse local repo from p4v open connection dialog and added two files.
p4 files //... //stream/main/jsapi/centralsettings.js#1 - add change 1 (text)
//stream/main/jsapi/test.html#1 - add change 1 (text)
Protects
Protections: super user cs unknown //... super user cs 127.0.0.1 //... list user
* centralsettings //stream/main/jsapi/centralsettings.js list group _ comment
"central settings" read user * *
//stream/main/jsapi/centralsettings.js
contents of centralsettings.js
p4 print -q //stream/main/jsapi/centralsettings.js function settings(key) { if
(key == "p4v_mainTabs") { return
["p4:///stream/main/jsapi/test.html"]; } } // The
"settings" function is called periodically by the Admin Tool
settings(P4JsApi.centralSettingsKey());
Details from p4v system info about applets
Perforce Applet Configuration: Checking permissions table for central settings
file Central settings file specified for user: yes (line 3 of permissions table)
Loaded central settings file at
p4://cs@/files/stream/main/jsapi/centralsettings.js Perforce applets accepted
for this server: no
Note that the central settings file entry does not contain a server because
there is no server when using a local DVCS repository.
P4 Applets work fine against a normal perforce server (we have a couple that get
heavy usage), but there doesn't appear to be a way to make p4v
allow applets from a blank server.
--
Please click here to see the post in its original format:
http://forums.perforce.com/index.php?/topic/5380-p4v-dvcs-and-applets
_______________________________________________
perforce-user mailing list - [email protected]
http://maillist.perforce.com/mailman/listinfo/perforce-user