Reputation: 5877
I have a simple question. Is there a basic syntax to simply get the raw text output for a particular line in a particular file for a particular version using svn? I am looking for something like this. Let's say I want line 500 from MyFile.FOR version 6382:
svn line 500 MyFile.FOR 6382
How can I achieve this? Thanks
Upvotes: 1
Views: 52
Reputation: 6027
I think you should do something similar:
svn cat MyFile.FOR -r6382 | sed -n '500p'
I hope this solution is clear - if not please let me know.
Upvotes: 1