Committing To SVN

From rootshell wiki

(Difference between revisions)
Jump to: navigation, search
(Created page with '{{SuperMonkoHeader}} {{SuperMonkoFooter}}')
(Initial svn commiting manual)
 
Line 1: Line 1:
{{SuperMonkoHeader}}
{{SuperMonkoHeader}}
 +
 +
== Checking the code status ==
 +
When you're done modifying the source tree,
 +
* Use '''svn stat''' command to find out the changes
 +
* items marked as
 +
** '''X''' Means that an external source has been changed, and you should commit it seperately
 +
** '''?''' are new items which should be either added to the repository using '''svn add''' or added to svn ignore list
 +
** '''M''' are modified items and will be sent to the server when you commit. No action needed.
 +
** '''A''' are new added items, and will be sent to the server when you commit. No action needed.
 +
** '''D''' are deleted items, No action needed.
 +
** '''!''' are missing items, it means that you've deleted the file from disk but not from the repository, if you really want to remove the file, use the following command to inform svn about file removal. <pre>svn rm [FileName]</pre>
 +
 +
== Commit Comments ==
 +
 +
== Components ==
 +
Components are added to the project using svn external source feature (See [[Using a component in project]] for more details). When you're checking your '''svn status''', modifications to Components will be shown recursively, but when you want to commit the changes, two '''svn commit''' should be launched. One for the project it self and the other for '''Components''' folder, since its an external item.
 +
 +
Please don't modify components such that they contain project specific code, since they're being used in other projects and this will break their behavior.
{{SuperMonkoFooter}}
{{SuperMonkoFooter}}

Latest revision as of 09:54, 15 May 2010

Development

Index

This page belongs to Turned On Ventures Guideline Series.


Checking the code status

When you're done modifying the source tree,

  • Use svn stat command to find out the changes
  • items marked as
    • X Means that an external source has been changed, and you should commit it seperately
    • ? are new items which should be either added to the repository using svn add or added to svn ignore list
    • M are modified items and will be sent to the server when you commit. No action needed.
    • A are new added items, and will be sent to the server when you commit. No action needed.
    • D are deleted items, No action needed.
    • ! are missing items, it means that you've deleted the file from disk but not from the repository, if you really want to remove the file, use the following command to inform svn about file removal.
      svn rm [FileName]

Commit Comments

Components

Components are added to the project using svn external source feature (See Using a component in project for more details). When you're checking your svn status, modifications to Components will be shown recursively, but when you want to commit the changes, two svn commit should be launched. One for the project it self and the other for Components folder, since its an external item.

Please don't modify components such that they contain project specific code, since they're being used in other projects and this will break their behavior.




Final Commit For Release HierarchyNext.gif


Copyright Turned On Ventures 2010, turnedonventures.com

Personal tools