Category
|
Command
|
Description
|
Defining and Naming Fixes
|
fixes.pl import fixname
<patchfile|url>
|
Import a fix from a patchfile,
either locally or from a remote server (this is how I try out Bugzilla
attachments--just supply the attachment URL). This will apply the
patch and remember that it is applied. It also figures out where
in the tree the patch was made so it can just apply it without bothering
you.
|
|
fixes.pl define fixname <directories or
files>
|
Define a fix based on files
already in your tree. Files that are not changed will not be
included in the fix, so that you can specify directories and it will
automatically include just your changes.
|
|
fixes.pl forget
fixname
|
Forget that the fix existed but
don't touch the tree |
|
fixes.pl rename
fixname newfixname
|
Rename a fix
|
Viewing Fixes
|
fixes.pl list
|
List the fixes in the tree
|
|
fixes.pl list_saved
|
List saved fixes (patches that
were removed with fixes.pl remove)
|
|
fixes.pl showfiles [fixname]
|
List all the files in the tree
that are affected by a fix (leave off the fix to show all files affected
by all fixes)
|
|
fixes.pl
whichfix [files]
|
Show which fix a particular file
is in
|
|
fixes.pl findnew
[directories | files]
|
Find other files in your tree
that you have modified but are not in any defined fix
|
|
fixes.pl
showdiff fixname
|
Show the stored patch for a fix
|
|
fixes.pl diff
fixname
|
Show the difference between the
patch and what you have in your tree. Really useful when you make
changes to a patch and want to know what you did so you can make bug
comments.
|
Manipulating Fixes
|
fixes.pl update fixname [new files]
|
Update the patch for a fix,
adding any new files specified in [new files]
|
|
fixes.pl build fixname |
Surgically rebuild all the files
in a fix with builddirs.pl so that you can run Mozilla with the fix. |
|
fixes.pl commit --message="..." fixname |
Commit the fix to the Mozilla
tree. This checks to ensure that the fix is up to date and ensures
that all necessary files have been cvs added and cvs removed; and even
cooler, it checks the tree for you before checking in. Use
--ignoretree if the tree is red or closed and you have permission to
check in. |
|
fixes.pl remove
fixname
|
Remove a fix from your tree but
save the patch
|
|
fixes.pl
resurrect fixname
|
Bring back a fix you removed
earlier
|