Difference between revisions of "Subversion"

From Healthcare Robotics Wiki
Jump to: navigation, search
(Creating and applying a patch:)
(chmod for subversion)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Links =
+
==== Links ====
 
* SVN Book: http://svnbook.red-bean.com/
 
* SVN Book: http://svnbook.red-bean.com/
 
* [http://code.google.com/p/svn-time-lapse-view/ svn-time-lapse-view]
 
* [http://code.google.com/p/svn-time-lapse-view/ svn-time-lapse-view]
 +
 +
==== chmod for subversion ====
 +
* making a file an executable:
 +
** svn propset svn:executable ON somescript
 +
** svn propdel svn:executable somescript
 +
** More details [http://svnbook.red-bean.com/en/1.1/re23.html here]
  
 
==== Creating and applying a patch: ====
 
==== Creating and applying a patch: ====
 
* svn diff > ~/fix_ugly_bug.diff
 
* svn diff > ~/fix_ugly_bug.diff
 
* patch -p0 -i ~/fix_ugly_bug.diff
 
* patch -p0 -i ~/fix_ugly_bug.diff
Advait got these instructions from [http://ariejan.net/2007/07/03/how-to-create-and-apply-a-patch-with-subversion/ | here]
+
More details [http://ariejan.net/2007/07/03/how-to-create-and-apply-a-patch-with-subversion/ here]

Latest revision as of 19:42, 12 January 2012

Links

chmod for subversion

  • making a file an executable:
    • svn propset svn:executable ON somescript
    • svn propdel svn:executable somescript
    • More details here

Creating and applying a patch:

  • svn diff > ~/fix_ugly_bug.diff
  • patch -p0 -i ~/fix_ugly_bug.diff

More details here