[p4] Another Nant Question: Changelist

Weintraub, David david.weintraub at bofasecurities.com
Tue Sep 19 14:00:44 PDT 2006


I either found a bug in the Nant Perforce jobs, or maybe a case of bad
documentation...
 
When you create a new changelist, you give it a parameter called
"changelist" which is described as a type "string" and a description of
"Changelist to create or delete". I gave it a unique name based upon the
Perforce client, Perforce user, and the current time.
 
When you do a "p4add", "p4edit", "p4delete", "p4reopen", or a
"p4submit", you can give it a "changelist" as a task parameter. I had
been using the "changelist" parameter when I created the changelist
during the "p4change" task.
 
This whole thing falls completely apart when I do a "p4revert". It seems
that "p4revert" also takes a "changelist" parameter, but that this
parameter is the change list number! I don't know the changelist number.
I had given it a changelist name because that's what it asked for in the
p4change task.
 
Has anyone used nant? Has anyone run into this problem?


More information about the perforce-user mailing list