mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
Tag expansion is no longer needed (svn handles them correctly).
Add svn command to diff against vendor branch.
This commit is contained in:
parent
a84fceb333
commit
539f0548f9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181096
|
@ -10,11 +10,5 @@ done
|
|||
cat tags |
|
||||
xargs perl -n -i.orig -e 'print; s/\$(Id|OpenBSD): [^\$]*/\$FreeBSD/ && print'
|
||||
|
||||
# Shell code to reexpand FreeBSD tags
|
||||
cat tags | while read f ; do
|
||||
id=$(cvs diff $f | grep '\$Fre[e]BSD:' |
|
||||
sed 's/.*\(\$Fre[e]BSD:.*\$\).*/\1/') ;
|
||||
if [ -n "$id" ] ; then
|
||||
sed -i.orig -e "s@\\\$Fre[e]BSD\\\$@$id@" $f ;
|
||||
fi ;
|
||||
done
|
||||
# Diff against vendor branch
|
||||
svn diff --no-diff-deleted --old=$FSVN/vendor-crypto/openssh/dist/ --new=.
|
||||
|
|
Loading…
Reference in a new issue