kga
kga

Reputation: 31

Retrieve svn update log

There is some output in console when I'm doing

svn update

How can I get this output later, when console is closed?

Upvotes: 3

Views: 5011

Answers (2)

sleske
sleske

Reputation: 83577

As an addition to Álvaro's answer:

The output from svn update just lists the files that were updated in your working copy because of changes in the central SVN repository.

While you cannot get back the output from svn update after closing the window, you can look at the recent changes in the repository using svn log. This will provide the same information as the log of an update (the only difference being that it also lists older changes, so you should only look at the latest changes).

Upvotes: 0

Álvaro González
Álvaro González

Reputation: 146350

Whatever "console" means in your case, once you've closed the window where svn update printed its output the output is gone. If operating systems would routinely store all output of command line programs, you'd soon run out of memory or disk space.

As in all console applications, you can simply redirect output to an external file with the > redirection operator:

svn update > /path/to/file.log

Upvotes: 3

Related Questions