[p4] Is there a command in Perforce that could tell me which changelists were included in the last sync I did?

Jeff Jensen jjensen at apache.org
Wed May 9 20:05:40 PDT 2007


I once had a similar wish (and still would like it), but in the end it is
not a reproducible build and requires extra setup by each developer.  For
me, when needing a specific version of a dependency like that, it means
branching that file to the project that needs it, such that the latest
version there would work for everyone.

This is using codeline management well, with the dependencies (lazy copied)
in the codeline.  Completely reproducible and no additional knowledge
needed.


-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of David Weintraub
Sent: Wednesday, May 09, 2007 11:20 AM
To: Stephen Vance
Cc: Chenini, Mohamed; perforce-user at perforce.com
Subject: Re: [p4] Is there a command in Perforce that could tell me which
changelists were included in the last sync I did?

On 5/9/07, Stephen Vance <steve at vance.com> wrote:
> History of your sync state is not kept by Perforce.

One of the things I'd love to see in Perforce is the ability to put
the revision information when you setup a client. For example, let's
say that I need to build my project against a certain revision of the
barutils library. I could do something like this:

Client : myclient
[...]
View:
    //depot/lib/MAIN/barutils... at 3234  //myclient/barutils
    //depot/myproj/MAIN/foo...      //myclient/foo

Now, whenever I sync my client, it is always pulling up the correct
revision of the barutils directory.

This would also solve Mohamed's issue because he could specify the
sync revision right in the client instead of just on the command line.
Then, by looking at the client, you'd be able to remember what
changelists were needed and for which directories.

--
David Weintraub
qazwart at gmail.com
_______________________________________________
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