Clarence | 23 Aug 2012 22:15
Favicon

[p4] How to do "p4 changes //a <at> 1,2" in P4V?


Posted on behalf of forum user 'Clarence'.

I want to call server.getChangelists and specify a changelist range (like
//a <at> 1,2 on the command line), but I don't see how to specify the range in
IFileSpec (or FileSpec). It has setStartRevision and setEndRevision (which seems
to work for sync()), but as for changelist numbers it has only setChangelistId
(no start or end variants).

So how do I set the endpoints of the range?

--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/1949-how-to-do-p4-changes-a12-in-p4v
_______________________________________________
perforce-user mailing list  -  perforce-user <at> perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user

Clarence | 23 Aug 2012 22:20
Favicon

Re: [p4] How to do "p4 changes //a <at> 1,2" in P4V?


Posted on behalf of forum user 'Clarence'.

And the range with changelists can be specified by more than integers (e.g.,
labels, dates) so it would seem to have to be string values that I would
specify.

--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/1949-how-to-do-p4-changes-a12-in-p4v
_______________________________________________
perforce-user mailing list  -  perforce-user <at> perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user

Clarence | 24 Aug 2012 00:05
Favicon

Re: [p4] How to do "p4 changes //a <at> 1,2" in P4V?


Posted on behalf of forum user 'Clarence'.

Okay, I got it to work by creating whole new FileSpec objects based on the
FilePathString of the given IFileSpecs with " <at> 1,2" appended.
Are users not even supposed to try to use the documented methods on
FileSpec's?

--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/1949-how-to-do-p4-changes-a12-in-p4v
_______________________________________________
perforce-user mailing list  -  perforce-user <at> perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user


Gmane