[petsc-dev] Fwd: [petsc-maint #119133] petsc-dev configure crash

Barry Smith bsmith at mcs.anl.gov
Wed Jun 6 15:33:31 CDT 2012


On Jun 6, 2012, at 3:05 PM, Sean Farley wrote:

>> If the only issue is being able to get the BuildSystem revision associated
>> with a pets-dev revision,
>> How about adding a hook to BuildSystem that at each commit, writes the
>> number of the revision into a file in the pets-dev repository and does a
>> commit in the pets-dev repository? Then all that would be done is
>> 
>> cd $PETSC_DIR
>> hg up -r <petsc revision>
>> cd config/BuildSystem
>> hg up -r `cat $PETSC_DIR/BuildSystemVersion.txt`
>> Which I am sure can be done automatically with a hook.
>> 
>> It's not high tech, but it would work, right? Plus this could be done a
>> posteriori for all past revisions of BuildSystem.
> 
> Actually, mercurial already implements this. They just call it 'subrepos'.

   Yes, but you conveniently forget all the bad sides of subrepos. See Satish and Matt's old mails.


   Barry




More information about the petsc-dev mailing list