2012/8/22 Geordie McBain <[email protected]>:
> 2012/8/22 Subramanya Gautam Sadasiva <[email protected]>:
>> Hi,
>> I am new to libmesh, but there seems to have been some sort of rearrangement
>> of the example numbers. Is there somewhere I can find which old example
>> numbers correspond to the current examples?
>
> Hello. I had hoped that this would be a simple exercise in svn log,
> but after finding the relevant revision easily enough
>
> %<---
> $ svn log -r 5000
> ------------------------------------------------------------------------
> r5000 | knezed01 | 2011-12-05 05:49:39 +0100 (Mon, 05 Dec 2011) | 1 line
>
> Reorganized the examples into subdirectories. The comments in each
> example still need to be updated to reflect the new numbering scheme.
> ------------------------------------------------------------------------
> --->%
>
> I was quickly reminded that Subversion ("svn diff --summarize -c
> 5000") only tracks renames as deletes and additions, but not which
> addition was related to which deletion.
> However, the second sentence in the log comment means the (42000
> line!) output of "svn diff -c 5000" can be searched for "Example 0",
> "Example 1", ... so
>
> svn diff -c 5000 | grep -E '(<h1>Example [0-9]|\+\+\+ .*\.C)'
>
> gives the attached 72 line output which pretty much pairs up the old & new.
After that I noticed a few cross-references in comments or string
literals still using the old numerotation, so I tried to find and
update them all; patch attached.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users