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

RE: damned 'svn log' behavior

From: Wolf Josef <josef.wolf_at_siemens.com>
Date: 2003-02-24 17:57:01 CET

Garrett Rooney wrote:

> uh, i really don't see the point in yet another switch. just type 'svn
> log -r FOO http://url/of/repos'. it's going to take just as long to
> type as a long flag would, and i'm sure you're not proposing we waste a
> short flag on something like this, right?

But then you need to remember the URL. At this point we get again to
the topic we already discussed in conjunction with "svn switch" and
"svn merge" IIRC. And then we end up again with solutions like

   svn log -r XXX `svn info . | sed -n 's!^Url: \(.*\)/[^/]*!\1!p'`

which is very prone to typos and works only on unix.

Special keywords could make the original problems solveable without
introducing new command line options:

   svn log -r XXX '$BASEURL'
   svn merge '$BASEURL/tags/0.18.0' '$BASEURL/branches/0.18'

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 24 17:57:52 2003

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