[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn diff -r BASE:HEAD upside down in diff titles?

From: Bob Proulx <bob_at_proulx.com>
Date: 2005-09-07 18:01:57 CEST

Joshua Varner wrote:
> export REPO=`(cd test-repos/; pwd)`

I have had various portability issues[1] with the above type of
construct. In general I now avoid VAR=`cd dir ; pwd` as a way to get
the directory. The above does not look too bad for this report but
let me suggest this instead:

  export REPO=$(pwd)/test-repos

I think it reads cleaner and avoids various issues.

Bob

[1] Think of what happens when CDPATH is set. Think of running on a
BSD amd system with /.automount as the real mount point. Things like
that.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 7 18:03:48 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.