hg diff --subrepos [was: Bug in cperl-mode.el ...]

Stephen J. Turnbull stephen at xemacs.org
Thu Dec 22 23:07:21 EST 2011


Vin Shelton writes:

 > By the way, working with the packages in the current repo structure is
 > less than ideal.  Here's how I generated this diff:
 > 
 > cd ~/scmroot/xemacs-packages
 > for d in *-packages/*(/); do
 >   cd $d

AFAIK you can insert "echo Package: $d" here without confusing either
people or machines.

 >   hg diff
 >   cd -
 > done

Isn't this the same issue that Didier reported a couple weeks ago?
AFAICS,

cd ~/scmroot/xemacs-packages
hg diff -S

DTRTs.  I *think* that

cd ~/scmroot/xemacs-packages
hg diff -S xemacs-packages/{vm,gnus}

will also DTRT (eg, if you've got independent un-checked-in changes in
calc that shouldn't go into this patch), but it's only lightly tested.
Maybe even

cd ~/scmroot/xemacs-packages/mule-packages
hg diff -S

to pick up only changes under mule-packages (but I haven't tested that).

Regards,



More information about the XEmacs-Beta mailing list