<div dir="ltr">I merged all mine to master. They are done.<div><br></div><div>   Matt</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 29, 2013 at 9:51 PM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thu, 29 Aug 2013, Jed Brown wrote:<br>
<br>
</div><div class="im">> Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> writes:<br>
><br>
> >> candidate-branches () {<br>
> >>   merged=$1<br>
> >>   dest=$2<br>
> ><br>
> > what are the arguments here?. Looks a bit complex - so will leave this to you.. :)<br>
><br>
> Just paste it into your shell, or put it in .bashrc.<br>
><br>
> $ candidate-branches master maint<br>
<br>
>>><br>
</div><div class="im">It works by checking whether the "merge base" of the branch with<br>
'master' (before it was merged to 'master') is actually part of 'maint'.<br>
<<<<<br>
<br>
</div>You mean - this is looking for all branches that started off a 'maint'<br>
commit [which is currently in master] - and also its head is merged<br>
into master aswell?<br>
<br>
BTW: I get some errors:<br>
<br>
>>>>>>>><br>
$ candidate-branches master maint<br>
fatal: Not a valid object name ~1<br>
usage: git merge-base [-a|--all] <commit> <commit>...<br>
   or: git merge-base [-a|--all] --octopus <commit>...<br>
   or: git merge-base --independent <commit>...<br>
   or: git merge-base --is-ancestor <commit> <commit><br>
<br>
    -a, --all             output all common ancestors<br>
    --octopus             find ancestors for a single n-way merge<br>
    --independent         list revs not reachable from others<br>
    --is-ancestor         is the first one ancestor of the other?<br>
<div class="im"><br>
Candidate for maint: refs/remotes/origin/barry/petscdatatypefromstring Fri Aug 23 21:12:13 2013 -0500<br>
Candidate for maint: refs/remotes/origin/jed/fix-gamg-coarse Wed May 29 22:29:42 2013 -0500<br>
Candidate for maint: refs/remotes/origin/jed/fix-viewer-ascii-tab-whitespace Wed Jun 19 09:19:55 2013 +0200<br>
Candidate for maint: refs/remotes/origin/jed/is-view-from-options Sun Aug 25 01:10:01 2013 -0500<br>
Candidate for maint: refs/remotes/origin/jed/mat-factor-shift Sat Jun 1 12:23:49 2013 -0500<br>
Candidate for maint: refs/remotes/origin/jed/pcmg-residual-underscore Wed Jun 26 16:22:39 2013 -0500<br>
Candidate for maint: refs/remotes/origin/karlrupp/feature-viennacl Mon Jun 10 16:44:57 2013 -0500<br>
Candidate for maint: refs/remotes/origin/knepley/fix-configure-package Wed Jul 17 07:53:11 2013 -0500<br>
Candidate for maint: refs/remotes/origin/knepley/fix-mat-chop Wed May 29 06:46:26 2013 -0500<br>
Candidate for maint: refs/remotes/origin/knepley/reordering Tue Aug 27 22:39:10 2013 -0500<br>
</div>fatal: Not a valid object name ~1<br>
usage: git merge-base [-a|--all] <commit> <commit>...<br>
   or: git merge-base [-a|--all] --octopus <commit>...<br>
   or: git merge-base --independent <commit>...<br>
   or: git merge-base --is-ancestor <commit> <commit><br>
<br>
    -a, --all             output all common ancestors<br>
    --octopus             find ancestors for a single n-way merge<br>
    --independent         list revs not reachable from others<br>
    --is-ancestor         is the first one ancestor of the other?<br>
<div class="im"><br>
Candidate for maint: refs/remotes/origin/prbrune/pcgamg-classical Thu Jun 27 12:30:19 2013 -0500<br>
Candidate for maint: refs/remotes/origin/prbrune/snes-npcjacobianlagging Tue May 14 09:50:15 2013 -0500<br>
Candidate for maint: refs/remotes/origin/toby/ksp-dgmres-view Tue Jun 4 06:20:21 2013 -0500<br>
Candidate for maint: refs/remotes/origin/toby/pcfactorgetlevels Fri Jun 7 14:20:33 2013 -0500<br>
Candidate for maint: refs/remotes/origin/toby/pcgamg-rebuild-coarse Wed Jul 24 16:12:18 2013 -0500<br>
</div>balay@asterix /home/balay/petsc.clone (master)<br>
<div class="im"><<<<<<<<<br>
<br>
<br>
<br>
> Candidate for maint: refs/remotes/origin/balay/fix-deadlock-on-bgq Wed Aug 28 11:57:58 2013 -0500<br>
> Candidate for maint: refs/remotes/origin/balay/fix-scalapack-mpiinc Thu Jul 4 14:31:22 2013 -0500<br>
<br>
</div>These two are already merged into maint. Are they listed because you<br>
haven't done a 'git fetch' in a while? Also perhaps its better to use<br>
'candidate-branches origin/master origin/maint'?<br>
<div class="im"><br>
<br>
> Candidate for maint: refs/remotes/origin/barry/petscdatatypefromstring Fri Aug 23 21:12:13 2013 -0500<br>
> Candidate for maint: refs/remotes/origin/jed/fix-gamg-coarse Wed May 29 22:29:42 2013 -0500<br>
> Candidate for maint: refs/remotes/origin/jed/fix-viewer-ascii-tab-whitespace Wed Jun 19 09:19:55 2013 +0200<br>
> Candidate for maint: refs/remotes/origin/jed/is-view-from-options Sun Aug 25 01:10:01 2013 -0500<br>
> Candidate for maint: refs/remotes/origin/jed/mat-factor-shift Sat Jun 1 12:23:49 2013 -0500<br>
> Candidate for maint: refs/remotes/origin/jed/pcmg-residual-underscore Wed Jun 26 16:22:39 2013 -0500<br>
> Candidate for maint: refs/remotes/origin/karlrupp/feature-viennacl Mon Jun 10 16:44:57 2013 -0500<br>
> Candidate for maint: refs/remotes/origin/knepley/fix-configure-package Wed Jul 17 07:53:11 2013 -0500<br>
> Candidate for maint: refs/remotes/origin/knepley/fix-mat-chop Wed May 29 06:46:26 2013 -0500<br>
> Candidate for maint: refs/remotes/origin/knepley/reordering Tue Aug 27 22:39:10 2013 -0500<br>
> Candidate for maint: refs/remotes/origin/prbrune/pcgamg-classical Thu Jun 27 12:30:19 2013 -0500<br>
> Candidate for maint: refs/remotes/origin/prbrune/snes-npcjacobianlagging Tue May 14 09:50:15 2013 -0500<br>
> Candidate for maint: refs/remotes/origin/toby/ksp-dgmres-view Tue Jun 4 06:20:21 2013 -0500<br>
> Candidate for maint: refs/remotes/origin/toby/pcfactorgetlevels Fri Jun 7 14:20:33 2013 -0500<br>
> Candidate for maint: refs/remotes/origin/toby/pcgamg-rebuild-coarse Wed Jul 24 16:12:18 2013 -0500<br>
<br>
</div>This is a big list. Perhaps everyone can comment if they should be merged into maint..<br>
<br>
[added in a couple more lines to get the list of oustanding commits in<br>
that branch - I see 'karlrupp/feature-viennacl' and a few others are<br>
false positives..]<br>
<br>
<<<<<<<br>
    git log --oneline $dest..$branch  | cat<br>
    echo<br>
<<<<<<<br>
<br>
<br>
$ candidate-branches master maint<br>
fatal: Not a valid object name ~1<br>
usage: git merge-base [-a|--all] <commit> <commit>...<br>
   or: git merge-base [-a|--all] --octopus <commit>...<br>
   or: git merge-base --independent <commit>...<br>
   or: git merge-base --is-ancestor <commit> <commit><br>
<br>
    -a, --all             output all common ancestors<br>
    --octopus             find ancestors for a single n-way merge<br>
    --independent         list revs not reachable from others<br>
    --is-ancestor         is the first one ancestor of the other?<br>
<div class="im"><br>
Candidate for maint: refs/remotes/origin/barry/petscdatatypefromstring Fri Aug 23 21:12:13 2013 -0500<br>
</div>8e4b2d1 Sys: add PetscDataTypeFromString() and test code<br>
<div class="im"><br>
Candidate for maint: refs/remotes/origin/jed/fix-gamg-coarse Wed May 29 22:29:42 2013 -0500<br>
</div>248bfaf PCBJacobi: call KSPSetFromOptions(subksp) when PCSetUp was called first<br>
5b42dca PCGAMG: set bjacobi->same_local_solves=TRUE to clean coarse grid viewing<br>
<div class="im"><br>
Candidate for maint: refs/remotes/origin/jed/fix-viewer-ascii-tab-whitespace Wed Jun 19 09:19:55 2013 +0200<br>
</div>17c4b54 Viewer ASCII: print tabs to petsc_history, not fd<br>
<div class="im"><br>
Candidate for maint: refs/remotes/origin/jed/is-view-from-options Sun Aug 25 01:10:01 2013 -0500<br>
</div>817ea41 AO: fix erroneous processing of -ao_view and factor into AOViewFromOptions<br>
dba0e79 doc: fix named argument in {Vec,Mat,DM}ViewFromOptions<br>
<div class="im"><br>
Candidate for maint: refs/remotes/origin/jed/mat-factor-shift Sat Jun 1 12:23:49 2013 -0500<br>
</div>5e9742b Mat PCFactor: include MatFactorShiftType in PCView_Factor output<br>
<div class="im"><br>
Candidate for maint: refs/remotes/origin/jed/pcmg-residual-underscore Wed Jun 26 16:22:39 2013 -0500<br>
</div>21b6e91 PCMGResidualDefault: fix fortran def [error on windows build]<br>
54b2cd4 PCMGResidualDefault: deprecate old semi-private name and make public<br>
<div class="im"><br>
Candidate for maint: refs/remotes/origin/karlrupp/feature-viennacl Mon Jun 10 16:44:57 2013 -0500<br>
</div>4cf1874 ViennaCL: Added synchronization to bindings just as for CUSP in order to allow for correct results with log_summary<br>
7121bf1 Added custom FORTRAN stubs for MatCreateAIJViennaCL and MatCreateSeqAIJViennaCL<br>
023073b Corrected comments in ViennaCL bindings.<br>
2f39c30 Improved performance of VecMAXPY_SeqViennaCL and VecAXPBYPCZ_SeqViennaCL for gamma=1.<br>
65e3cb3 Adjusted parsing of ViennaCL device type options.<br>
5e5cd3c Adjusted example config file for ViennaCL<br>
50de6e9 Fixed type warning when passing PetscScalar (*)[2] to MPI_Allreduce().<br>
56f911c Fixed detection of OpenCL on Mac OS.<br>
824c3e1 Fixed memory leak in VecGetArray()/VecGetArrayRead() for ViennaCL bindings.<br>
4f97bae ViennaCL: fix LOCDIR<br>
ab6435e ViennaCL: Updated code for new interface to PetscObjectComposeFunction() and XXXRegister()<br>
8ff5867 ViennaCL: Updated to new AMS viewer model<br>
586241c ViennaCL: Fixed includedir in viennacl.py package handler<br>
0d73d53 ViennaCL: Applied const-correctness to functions.<br>
19fddfa ViennaCL: Eliminated whitespace violations, removed/fixed erroneous comments.<br>
b4986ff ViennaCL: Device type can now be specified via command line.<br>
4076e18 ViennaCL: Now catching the correct type of exceptions (std::exception)<br>
0a9f7e6 ViennaCL: Eliminated dead/unused code<br>
67c87b7 ViennaCL: Fixed issues if size 0 is passed.<br>
3db98f8 ViennaCL: Setting VIENNACL_WITH_OPENCL flag to enable OpenCL backend as default.<br>
dcc04cf ViennaCL: Added package detector for OpenCL, added OpenCL-dependency for ViennaCL.<br>
8f86e40 ViennaCL: Added MPI-implementation for AIJ matrices.<br>
9f10968 ViennaCL: Removed seqviennacl/aijassemble.cxx (would trigger error, now uses existing fallback)<br>
e4a0ef1 ViennaCL: Renamed files to fulfill conventions (.cpp -> .cxx, all lowercase), removed restriction of C++ everywhere.<br>
d67ff14 ViennaCL: Added sequential AIJ matrix.<br>
32d0529 ViennaCL: Added MPI vectors.<br>
ca5856b ViennaCL: Removed unnecessary call to resize() at vector construction.<br>
3f559ed ViennaCL: Download of package now working.<br>
b17c682 ViennaCL: First draft, including all operations for sequential vectors.<br>
<div class="im"><br>
Candidate for maint: refs/remotes/origin/knepley/fix-configure-package Wed Jul 17 07:53:11 2013 -0500<br>
</div>506c33d Configure: Fixed logic when using --with-package-lib when the package has no includes<br>
<div class="im"><br>
Candidate for maint: refs/remotes/origin/knepley/fix-mat-chop Wed May 29 06:46:26 2013 -0500<br>
</div>5a4c130 Mat: fix PetscObjectComm call in last commit<br>
e22710e Mat: Remove PETSC_COMM_WORLD from MatChop()<br>
<div class="im"><br>
Candidate for maint: refs/remotes/origin/knepley/reordering Tue Aug 27 22:39:10 2013 -0500<br>
</div>aa932e7 Mat ex170: Comments<br>
0e8f585 Mat ex170: Test for MatMult() using max instead of plus - Finds the number of connected components in parallel - Can still optimize better in parallel<br>
b434eb9 Mat: Added stuff to let me do (max, mult) algebra things for reordering - Added MatMultMax_SeqAIJ() and MatMultAddMax_SeqAIJ() - Added PetscSparseDenseMaxDot()<br>
849b11c Vec: Added VecUniqueEntries() - This is purely diagnostic, but I think its useful for tests<br>
745b41b Sys: Added PetscSortRemoveDupsReal()<br>
<br>
fatal: Not a valid object name ~1<br>
usage: git merge-base [-a|--all] <commit> <commit>...<br>
   or: git merge-base [-a|--all] --octopus <commit>...<br>
   or: git merge-base --independent <commit>...<br>
   or: git merge-base --is-ancestor <commit> <commit><br>
<br>
    -a, --all             output all common ancestors<br>
    --octopus             find ancestors for a single n-way merge<br>
    --independent         list revs not reachable from others<br>
    --is-ancestor         is the first one ancestor of the other?<br>
<div class="im"><br>
Candidate for maint: refs/remotes/origin/prbrune/pcgamg-classical Thu Jun 27 12:30:19 2013 -0500<br>
</div>9d2699c PCGAMG Classical: no need to explicitly zero formkktprol<br>
65b3d5b Fixed types for PCGAMGProlongator_Classical and PCGAMGGraph_Classical, strict C fix.<br>
6774142 Complex fixes for classical<br>
30454c4 Added test examples for classical AMG<br>
e5a0faa Fixed a number of bugs in Classical GAMG<br>
b375234 Fix to the threshold calculation<br>
f82387e Fixed PCGAMG_Classical so that thresholding decreases fill as bugs are fixed<br>
3c9ab2c Fixed one-processor memory corruption bug for classical GAMG.<br>
bfde193 Namespacing in gamg/classical.c<br>
8e6d0c3 Added classical AMG to GAMG<br>
<div class="im"><br>
Candidate for maint: refs/remotes/origin/prbrune/snes-npcjacobianlagging Tue May 14 09:50:15 2013 -0500<br>
</div>e514fbc Tests for persistent lagging of the Jacobian or Preconditioner<br>
9d7e2de Suggested documentation fixes for SNESSetLagJacobian/PreconditionerPersists()<br>
971e163 SNESSetCountersReset() lets SNES to keep nfuncs and linear_its for many solves<br>
902f982 Control over initial SNES func/norm in one place; inner ASPIN fix.<br>
25a90ac Fixed the behavior of left-pc SNESes preconditioning right-pc SNESes.<br>
37ec4e1 Added SNESGet/SetLagJacobian/PreconditionerPersists()<br>
<div class="im"><br>
Candidate for maint: refs/remotes/origin/toby/ksp-dgmres-view Tue Jun 4 06:20:21 2013 -0500<br>
</div>e788a01 dgmres: doc for -ksp_dgmres_view_deflation_vecs<br>
9d49465 dgmres: added option to view deflation vecs after solve.<br>
62aa035 dgmres: fix real typed as int<br>
<div class="im"><br>
Candidate for maint: refs/remotes/origin/toby/pcfactorgetlevels Fri Jun 7 14:20:33 2013 -0500<br>
</div>2591b31 PCFactor: add PCFactorGetLevels<br>
<div class="im"><br>
Candidate for maint: refs/remotes/origin/toby/pcgamg-rebuild-coarse Wed Jul 24 16:12:18 2013 -0500<br>
</div>0a97e77 PCGAMG: Always rebuild coarse Mat the first time<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Satish<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</div>