Additions:
or between two dates
$ svn diff -r{20080801}:{20080808} myfile.php
Additions:
To find differences between your (modified) working copy and latest (updated) in repository try
or to find differences between the base rev of your working copy and latest (updated) in repository try
Deletions:
for example to find differences between the base rev of your working copy and latest (updated) in repository try
or to find differences between your working copy and latest (updated) in repository try
Additions:
revision argument(s) can be:
for example to find differences between the base rev of your working copy and latest (updated) in repository try
or to find differences between your working copy and latest (updated) in repository try
$ svn diff -rHEAD myfile.php
Deletions:
A revision argument can be one of:
For example to find differences between your working copy and latest (updated) in repository try
Additions:
$ svn diff -rBASE:HEAD myfile.php
$ svn diff -r{20080801}:HEAD myfile.php
Deletions:
$ svndiffsbs -rBASE:HEAD myfile.php
svn diff -r{20080801}:HEAD myfile.php
Additions:
or between a date in the past and the latest in the repository
svn diff -r{20080801}:HEAD myfile.php
Deletions:
svn diff -r{20080701}:BASE myfile.php
Additions:
$ svndiffsbs -rBASE:HEAD myfile.php
svn diff -r{20080701}:BASE myfile.php
Deletions:
$ svndiffsbs -rBASE:HEAD
Subversion Revisions
Many subversion commands allow you to specify a revision or revisions
-r [--revision] arg (some commands also take ARG1:ARG2 range)
A revision argument can be one of:
- N revision number
- '{' DATE '}' revision at start of the date
- 'HEAD' latest in repository
- 'BASE' base rev of item's working copy
For example to find differences between your working copy and latest (updated) in repository try