]> Pileus Git - ~andy/sunrise/commitdiff
scripts/sunrise-commit: Fixed svn add to include cwd. genstef++
authorAlex Tarkovsky <alextarkovsky@gmail.org>
Tue, 4 Jul 2006 22:07:55 +0000 (22:07 +0000)
committerAlex Tarkovsky <alextarkovsky@gmail.org>
Tue, 4 Jul 2006 22:07:55 +0000 (22:07 +0000)
svn path=/sunrise/; revision=470

scripts/sunrise-commit

index 69afaafb13c63bef63dd36ddb0e905fb5e3fbc9f..85260222df2495238095dd878fd7f71809fef504 100755 (executable)
@@ -64,9 +64,9 @@ repoman_check() {
 svn_add() {
        ebegin "Adding local changes to working copy"
        if [[ "$opt_verbose" == "1" ]] ; then
-               svn add * --force
+               svn add ../$(basename `pwd`) --force
        else
-               svn add * --force -q
+               svn add ../$(basename `pwd`) --force -q
        fi
        eend $?
 }
@@ -142,8 +142,8 @@ svn_up() {
                local conflict_files=$(svn status | sed -rn 's/^C.+ ([^ ]+)$/\1/p')
                if [[ -n "$conflict_files" ]] ; then
                        echo "!!! Error: Some local files have changes that conflict with the latest"
-                       echo "!!! revisions in the repository. Please contact their committer(s) to resolve"
-                       echo "!!! the conflicts manually before running sunrise-commit again:"
+                       echo "!!! revisions in the repository. Please contact the previous committer(s) to"
+                       echo "!!! resolve the conflicts manually before running sunrise-commit again:"
                        for filename in $conflict_files ; do
                                echo "!!!"
                                echo "!!!        file: ${filename}"