Re: [p4] Reconcile seems to need to have something added in order to work ?
daveg <[email protected]>
| Newsgroups | gmane.comp.version-control.perforce |
|---|---|
| Message-ID | <[email protected]> |
Posted on behalf of forum user 'daveg'.
Unfortunately, I don't have the authority to update
anything. That belongs to someone who, for some reason, wants to
leave it as it is.
To be quite honest, I don't know if the client was created before or
after. But I believe the client is created first, then there are
several syncs to different areas of the depot inside the local linux dir struct
that contains all the synced copies.
Anyway, I reran the project script (that someone else wrote) which creates the
dir struct that has the p4 workareas. Each of these areas is
populated with files from the depot, lets call them 'src',
'_env', 'import'. If I run my script
(above) from anywhere in the linux dir struct, it does seem to sense
the fact that I SetCWD to, for example, "_env" and only reports on
files in that area. However, now it reports that all files in the
_env dir need to be "add"ed. I think it seemed to work
right before because I was running my script after I did a "p4 add" in
my experiments. So back to square 1. It thinks everything
needs to be added.
Looking closer at my script, the " print "$action :
${depotFile} - ${clientFile}\n"; " line in side the loop, I
get lines like...
add : //thetop/proj1/main/_env/cbwa.type - /proj/me/MYTESTDIR/_env/cbwa.type
IOW, "p4 reconcile" seems to find $depotFile and $clientFile
OK. It seems to know where in the depot the file came from and where
it is in the local linux dir. But then it reports that it needs to be
added ? That doesn't make any sense.
If I do a "p4 filelog cbwa.wt", it returns "cbwa.wt_type -
file(s) not on client."
But it is on the client, it's " /proj/me/MYTESTDIR/_env/cbwa.type"
just as it was found by "p4 reconcile"
Does the "client" need to exist in order for my reconcile test script
to work? Does it create its own client? Why is it it works
after a "p4 add" ?
--
Please click here to see the post in its original format:
http://forums.perforce.com/index.php?/topic/5598-reconcile-seems-to-need-to-have-something-added-in-order-to-work
_______________________________________________
perforce-user mailing list - [email protected]
http://maillist.perforce.com/mailman/listinfo/perforce-user