Jump to content


Bulk edit of submitted Changelists

changelists command line bulk

  • Please log in to reply
1 reply to this topic

#1 Ish

Ish

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 08 January 2014 - 11:25 PM

I have been tasked with changing a bunch of our old submitted changelists descriptions.   We have a tag at the beginning of the changelist description that we are using to identify certain things about the changelist, and we need to change one of the tags.  I know I can use "p4 changes -u {changelist#}" to make a change, but that pops up an editor window, and I need to make this change on ~10k changelists.   Do any of you know a way to do this?

#2 P4Lester

P4Lester

    Advanced Member

  • Members
  • PipPipPip
  • 144 posts

Posted 12 February 2014 - 12:49 AM

Hi,

Personally I would not attempt to edit them by hand. :)

If you are comfortable with scripting  you can use our scirpting API to iterate through the changes programatically. See P4.Iterate:

http://www.perforce....ripts-p4iterate

Do setup a test environment to test it!

-les

I work for Perforce.
Workshop | Twitter | LinkedIn | about.me






Also tagged with one or more of these keywords: changelists, command line, bulk

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users