Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can get it by parsing the output of svn info. Example using Bash:

svn info | grep '^URL: ' | cut -d' ' -f2

Is there an easier way?

share|improve this question
up vote 3 down vote accepted
svn info | awk '/^URL: / { print $2 }'

There's also svn info --xml if you'd rather parse XML.

There's no command line parameter that returns only the URL, if that's what you meant.

share|improve this answer
Yup, that´s what I meant. – Deleted Feb 24 '12 at 14:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .