mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 00:52:16 +00:00
Add tool for tracking jam->python merges
[SVN r56043]
This commit is contained in:
16
v2/to_merge.sh
Executable file
16
v2/to_merge.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
for python in build/*.py; do
|
||||
jam="${python%.py}.jam"
|
||||
if [ -f "$jam" ]; then
|
||||
line=`grep "Base revision" $python`
|
||||
revision=`echo $line | sed 's/# Base revision: \([0-9]*\).*/\1/'`
|
||||
if [ -e "$revision" ] ; then
|
||||
echo "No base version for $python" >&2
|
||||
else
|
||||
svn diff -r $revision:HEAD "$jam"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user