File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Explanation of svn diff unified format

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic