Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F169107035
D24789.id71701.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D24789.id71701.diff
View Options
Index: mfh
===================================================================
--- mfh
+++ mfh
@@ -115,18 +115,22 @@
for f in $("${svn}" diff --summarize -c "r${rev}" "${svnserver}/ports/head"); do
case ${f} in
*/*) ;;
- *)continue;;
+ *) continue ;;
esac
f=${f#*/ports/head/}
- f=${f%/*}
- filelist="${filelist}${LF}${f}"
+ while :; do
+ case ${f} in
+ */*/*) f=${f%/*} ;;
+ *) break ;;
+ esac
+ done
+ filelist="${filelist}${f}${LF}"
done
"${svn}" log "-r${rev##-}" ${svnserver}/ports/head | sed '1,2d;$d;/^MFH:/d' \
| sed '$d' >> commit.txt
done
-filelist=$(printf '%s\n' "${filelist}" | sort -u)
-"${svn}" up --parents $(printf '%s\n' $filelist \
- | sed "s}^}${branch}/}")
+filelist=$(printf '%s' "${filelist}" | sort -u | sed "s}^}${branch}/}")
+"${svn}" up --parents $(printf '%s\n' $filelist)
"${svn}" up --quiet "${branch}"
for rev in "$@"
do
@@ -134,11 +138,11 @@
"${svn}" merge -c "r${rev}" ^/head/ "${branch}"
done
"${svn}" up --quiet "${branch}"
+printf '\nAll the merge work was done in %s:\n' "${dir}/${branch}"
"${svn}" status "${branch}"
"${svn}" diff "${branch}"
-echo "All the merge work was done in ${dir}/${branch}"
-ask "Do you want to commit? (no = start a shell)" || (
- echo "Dropping you to a shell so you can investigate. Exit the shell to resume this script."
+(
+ echo "Dropping you to a shell so you can investigate. Please test. Exit the shell to resume this script."
cd "${branch}"
pwd
su -m $(id -un) || :
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Sep 1, 10:39 AM (5 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37808062
Default Alt Text
D24789.id71701.diff (1 KB)
Attached To
Mode
D24789: mfh: check out full port directory even if merging only files/ changes
Attached
Detach File
Event Timeline
Log In to Comment