File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 3479

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Explanation of svn diff unified format