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?
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
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.
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.