Kai
Kai

Reputation: 5910

See last changes in svn

I paused development on a project before going on holidays. Now after a few weeks I'd like to know what were the last things in source I was working on?

Is there a chance to see e.g. in WebSVN the last changes in the whole repository?

Upvotes: 73

Views: 141783

Answers (8)

Pedro_Uno
Pedro_Uno

Reputation: 1044

I recommend you do "svn update" before you do "svn log". Without running update, often I cannot see the last few commits in the log.

This is the svn version on my machine.

$ svn --version svn, version 1.13.0 (r1867053) compiled May 12 2022, 20:47:08 on x86_64-pc-linux-gnu

Upvotes: 0

sdu
sdu

Reputation: 2838

If you have a working copy then svn status will help.

svn status -u -v

The --show-updates (-u) option contacts the repository and adds information about things that are out of date.

Upvotes: 6

Stefan
Stefan

Reputation: 43575

You could use CommitMonitor. This little tool uses very little RAM and notifies you of all the commits you've missed.

Upvotes: 1

NawaMan
NawaMan

Reputation: 25677

If you have not yet commit you last changes before vacation. - Command line to the project folder. - Type 'svn diff'

If you already commit you last changes before vacation.

  • Browse to your project.
  • Find a link "View log". Click it.
  • Select top two revision and Click "Compare Revisions" button in the bottom. This will show you the different between the latest and the previous revision.

Upvotes: 35

Vlad Savitsky
Vlad Savitsky

Reputation: 1200

Open you working copy folder in console (terminal) and choose commands below. To see last changes: If you have commited last changes use:

svn diff -rPREV

If you left changes in working copy (that's bad practice) than use:

svn diff

To see log of commits: If you're working in branch:

svn log --stop-on-copy 

If you're working with trunk:

svn log | head

or just

svn log

Upvotes: 105

Paul Stephenson
Paul Stephenson

Reputation: 69480

svn log -r {2009-09-17}:HEAD

where 2009-09-17 is the date you went on holiday. To see the changed files as well as the summary, add a -v option:

svn log -r {2009-09-17}:HEAD -v

I haven't used WebSVN but there will be a log viewer somewhere that does the equivalent of these commands under the hood.

Upvotes: 48

orip
orip

Reputation: 75547

svn log -v

Upvotes: 5

Eamon Nerbonne
Eamon Nerbonne

Reputation: 48156

svn log - I'm sure WebSVN has some feature for that too.

The "View Log" link near the center-top of the WebSVN overview shows the svn-log. However, the user-interface isn't exactly brilliant; I much prefer TortoiseSVN's log viewer.

Upvotes: 3

Related Questions