diff options
Diffstat (limited to 'mailimport')
-rwxr-xr-x | mailimport | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mailimport b/mailimport index c7e1bf80a..b072bf5f3 100755 --- a/mailimport +++ b/mailimport @@ -87,6 +87,7 @@ apply_patch () { done committer=`grep "Committer:" $TMP2|sed s/"#Committer: "//` + date=`grep "Date:" $TMP2|sed s/"#Date: "//` if [ "$usemq" != "" ]; then name=`cat $next | perl -ne ' @@ -106,8 +107,8 @@ apply_patch () { cat $next| grep -v "^#" >$TMPDIR/$name - echo hg -m "`cat $TMP2|grep -v "^#"`" qnew $name - hg qnew -m "`cat $TMP2|grep -v "^#"`" $name + echo hg -d "$date" -m "`cat $TMP2|grep -v "^#"`" qnew $name + hg qnew -d "$date" -m "`cat $TMP2|grep -v "^#"`" $name make cardlist make whitespace hg qrefresh @@ -142,7 +143,7 @@ apply_patch () { exit fi - hg commit -u "$committer" -m "`cat $TMP2|grep -v "^#"`" $CARDLIST $FILES + hg commit -d "$date" -u "$committer" -m "`cat $TMP2|grep -v "^#"`" $CARDLIST $FILES if [ "$?" != "0" ]; then echo "*** ERROR at hg commit" |