sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cheol...@apache.org
Subject git commit: SQOOP-822: Git repository revision is not fetched
Date Wed, 09 Jan 2013 19:53:55 GMT
Updated Branches:
  refs/heads/sqoop2 2016dedce -> b9842ebe0


SQOOP-822: Git repository revision is not fetched

(Jarek Jarcec Cecho via Cheolsoo Park)


Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/b9842ebe
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/b9842ebe
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/b9842ebe

Branch: refs/heads/sqoop2
Commit: b9842ebe04948764c2a85edef29d42053efabcb9
Parents: 2016ded
Author: Cheolsoo Park <cheolsoo@apache.org>
Authored: Wed Jan 9 11:53:19 2013 -0800
Committer: Cheolsoo Park <cheolsoo@apache.org>
Committed: Wed Jan 9 11:53:19 2013 -0800

----------------------------------------------------------------------
 common/src/saveVersion.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/b9842ebe/common/src/saveVersion.sh
----------------------------------------------------------------------
diff --git a/common/src/saveVersion.sh b/common/src/saveVersion.sh
index 4310339..38661a3 100755
--- a/common/src/saveVersion.sh
+++ b/common/src/saveVersion.sh
@@ -28,7 +28,7 @@ cwd=`pwd`
 if [ -d .svn ]; then
   revision=`svn info | sed -n -e 's/Last Changed Rev: \(.*\)/\1/p'`
   url=`svn info | sed -n -e 's/URL: \(.*\)/\1/p'`
-elif [ -d .git ]; then
+elif [ -d ../.git ]; then
   revision=`git log -1 --pretty=format:"%H"`
   hostname=`hostname`
   url="git://${hostname}${cwd}"


Mime
View raw message