2

I'm looking for a command that will list all of the SVN revisions at a particular URL, and nothing more. I'm working on an Ubuntu machine. Simply, for example, I would like the output of the command to be:

r43
r42
r41
....list every revision

or just

43
42
41
....list every revision

Is this possible? Because I'm using it remotely, I can't use the

svnlook history

command. Any ideas?

Thanks in advance for any help.

1 Answer 1

3

Try this:

svn log <URL> | egrep '^r[0-9]' | sed -e 's/^r\([0-9]*\) .*$/\1/'

I works for me on an ubuntu machine from a bash shell.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.