diff --git a/obs-service-tar_scm.changes b/obs-service-tar_scm.changes index 98b6076..bc7e330 100644 --- a/obs-service-tar_scm.changes +++ b/obs-service-tar_scm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 16 15:23:35 GMT 2012 - aspiers@suse.com + +- When the cache is used, output location of repo in the cache + ------------------------------------------------------------------- Tue Feb 14 16:52:19 GMT 2012 - aspiers@suse.com diff --git a/tar_scm b/tar_scm index 23ccd18..69c8017 100644 --- a/tar_scm +++ b/tar_scm @@ -193,6 +193,7 @@ fetch_upstream () { if [ -n "$CACHEDIRECTORY" -a -d "$REPOCACHE/.$MYSCM" ]; then debug "cache hit: $REPOCACHE/.$MYSCM" check_cache + echo "Found $TOHASH in $REPOCACHE; updating ..." update_cache REPOPATH="$REPOCACHE" else @@ -234,6 +235,8 @@ calc_dir_to_clone_to () { } initial_clone () { + echo "Fetching from $MYURL ..." + case "$MYSCM" in git) # Clone with full depth; so that the revision can be found if specified @@ -270,7 +273,7 @@ cache_repo () { debug mv2 "$CLONE_TO" "$REPOCACHE" safe_run mv "$CLONE_TO" "$REPOCACHE" echo "$MYURL" > "$REPOURLCACHE" - echo "cached $MYURL at $REPOCACHE" + echo "Cached $MYURL at $REPOCACHE" fi }