Import of a version of this file from an old emacs backup I had.

This commit is contained in:
Bradley M. Kuhn 2009-08-08 19:29:32 -04:00
parent 1137a2e779
commit 7743682496

View file

@ -1,8 +1,10 @@
#!/bin/sh
for i in `ls -r1t $1.~*~ $1`; do
date=`stat -c '%y' $i|perl -pe 's/^(\S+)\s+.*$/$1/;'`
for i in `ls -r1t $1.~*~`; do
date=`stat -c '%y' $i`
logdate=`stat -c '%y' $i|perl -pe 's/^(\S+)\s+.*$/$1/;'`
echo $date $i
cp -pa $i $2
svn commit -m " * file as it stood on $date" $2
export GIT_AUTHOR_DATE="$date"
git commit -m "Brought in file from ~ backup files, as it was on $logdate" $2
done