monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Re: mtbrowser - Text based browser for source control


From: Henry Nestler
Subject: [Monotone-devel] Re: mtbrowser - Text based browser for source control
Date: Thu, 26 May 2005 23:04:31 +0200
User-agent: Mozilla Thunderbird 0.6 (Windows/20040502)

Nathaniel Smith wrote:

I've checked it into mainline as "contrib/mtbrowse.sh".  Send me a key
if you'd like push access so you can commit updates to it directly...

Thanks, my pubkey attached.

This will be a very nice test for update. I'm running in a coLinux session. The database stored and pull on host system (WinXP), connected with a fuse-lite filesystem, and working tree is in linux (checkout under Linux)... I will try it :-)

If it not works, here is actual source
http://www.henrynestler.com/colinux/monotone-mtbrowse/mtbrowse-0.1.4.sh
http://www.henrynestler.com/colinux/monotone-mtbrowse/mtbrowse-0.1.4.patch

Henry

[pubkey address@hidden
MIGdMA0GCSqGSIb3DQEBAQUAA4GLADCBhwKBgQCW7v7+IeRfuj4y0G5UhQGeHSbudbqrq3Dr
W2oyQ+pFrfM6y687UoZeHNkE1z4rTFP6BTgsCePcvtQTLiKCRJOoGPU+60GxWKJl2gvbNGA6
1GXhs08VfbZ0CIfRbUO+MqN2Zp6RnavgQZToTGNcUvBVWVarbUw8QVDOnG1MHkGBsQIBEQ==
[end]
# mtbrowse version 0.1.4
# - Don't run "monotone log" with empty head.
# - remove tracing.

# 
# patch "contrib/mtbrowse.sh"
#  from [c6010c101cca06bd1442bceb1c0b714f013225fd]
#    to [e60c52bada89e78fb85ecd4576eb87c0ead3edfb]
# 
--- contrib/mtbrowse.sh
+++ contrib/mtbrowse.sh
@@ -21,7 +21,7 @@
 #  - Begin with menu "S Select revision"
 #  - Browse in branches, revisions, diff files, view logs ....
 #  - Quit menu with "Q" to save your environment.
-#    Or X to exit without save anything.
+#    Or "X" to exit without save anything.
 #
 # Needed tools:
 #  monotone 0.19 or compatible
@@ -41,6 +41,9 @@
 # 2005/5/13 Version 0.1.3 address@hidden
 # Diff from 'Parrent' mistaken HEAD/REVISION usage.
 # Limit count of revisions, change by config menu, default 20 (for big proj).
+# 
+# 2005/5/24 Version 0.1.4 address@hidden
+# Don't run "monotone log" with empty head.
 #
 # Known Bugs / ToDo-List:
 # - Working without data from "checkout" don't work in all cases.
@@ -294,7 +297,6 @@
     if [ ! -f $TEMPFILE.certs.$BRANCH -o $DB -nt $TEMPFILE.certs.$BRANCH ]
     then
        echo "Reading ancestors ($HEAD)"
-#set -x xtrace
        echo "$HEAD" > $TEMPFILE.ancestors
        monotone automate ancestors $HEAD | cut -c0-40 >> $TEMPFILE.ancestors 
|| exit 200
 
@@ -331,9 +333,6 @@
        else
                mv $TEMPFILE.certs3tmp $TEMPFILE.certs.$BRANCH
        fi
-#echo -e "\nDONE"
-#read junk
-#set +x xtrace
     fi
 
     # Select revision
@@ -421,7 +420,7 @@
 
 mkdir -p $TEMPDIR
 
-while dialog --menu "Main - mtbrowse v0.1.3" 0 0 0 \
+while dialog --menu "Main - mtbrowse v0.1.4" 0 0 0 \
     "S" "Select revision" \
     "I" "Input revision" \
     "F" "Change DB File [`basename $DB`]" \
@@ -489,6 +488,7 @@
        # Sumary coplete LOG
        # if not branch known, ask user
        do_branch_sel check
+       do_head_sel check
 
        if [ ! -f $TEMPFILE.changelog.$BRANCH -o \
            $DB -nt $TEMPFILE.changelog.$BRANCH ]
@@ -533,6 +533,7 @@
 TOPSORT="$TOPSORT"
 CERTS_MAX="$CERTS_MAX"
 EOF
+       echo "config saved"
        do_clear_on_exit
        exit 0
         ;;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]