5 messages in com.perforce.perforce-userrestoring deleted client
FromSent OnAttachments
Dave...@vignette.com08 Mar 1999 08:59 
Matt...@geoworks.com10 Mar 1999 10:29 
Davi...@home.chat.net10 Mar 1999 12:04 
Dave...@vignette.com10 Mar 1999 12:22 
Davi...@home.chat.net10 Mar 1999 13:36 
Subject:restoring deleted client
From:Matt...@geoworks.com (Matt@geoworks.com)
Date:03/10/1999 10:29:43 AM
List:com.perforce.perforce-user

Dave Lewis <dlewis at vignette.com> writes:

I have of late taken to saving the have list when building a client for our nightly build. The thought was that after saving the client definition in a file, and the have list, it would be easy to archive the build tree and later restore it and the client state. (assuming the client was deleted in the intervening period)

This is all fine, but the restore process would also make it re-get all the files as specified in the have list. (this would make an incremental build impossible or difficult)

I realized recently that this could be "fixed" by feeding the have list to p4 flush instead of p4 sync.

Anybody see any problems with this?

After doing so, you might want to refresh any files that p4 diff -sd and -se report. Otherwise, no.

I wonder though, why don't you just keep the client around for the next nightly build? What we do here is have the script do a "p4 sync" on a dedicated "nightly build" client. If any files got changed, the night make fires off.

--- matta