aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Explanation of svn diff unified format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Explanation of svn diff unified format" Watch "Explanation of svn diff unified format" New topic
Author

Explanation of svn diff unified format

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

Hi.
I'm reading "Pragmatic Version Control Using Subversion, 2nd Edition".
First we have this file:
---
Day.txt
monday
tuesday
wednesday
thursday
friday
---
The author then added two lines:
---
Day.txt
monday
tuesday
wednesday
thursday
friday
saturday
sunday
---
And to show the diff:
svn diff Day.txt

Index: Day.txt
===================================================================
--- Day.txt (revision 1)
+++ Day.txt (working copy)
@@ -3,3 +3,5 @@
wednesday
thursday
friday
+saturday
+sunday


Would you please explain to what does this line mean?
@@ -3,3 +3,5 @@
I can't follow the author.
Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Explanation of svn diff unified format
 
Similar Threads
Alliterations
Enum question
Get current week date
Manic monday?
How can we get the day when we give date