Changes between Version 5 and Version 6 of SvnRules


Ignore:
Timestamp:
10/23/14 09:47:01 (10 years ago)
Author:
dneise
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SvnRules

    v5 v6  
    6161
    6262It is actually common practice that not the most recent version of the trunk is used for production. Very often software developers create certain release versions of their code, which is used for production, while development continues in the trunk. Code releases are often marked by so called **tags** for easy reference, but so far FACT did not follow this practise.
    63 However you might find yourself in the situation, that you want to base your development on
     63However you might find yourself in the situation, that you want to base your development on a version, from a given date.
    6464
     65So suppose you want to let your branch be based on Mars, as it was on e.g. 26.05.2014, you can use the trac timeline to find the according revision number. https://trac.fact-project.org/timeline
     66
     67In our example we learn, that the last change on that day was done in revision 17899, so we can type:
     68
     69    {{{
     70    svn copy -r17899 https://trac.fact-project.org/svn/trunk/Mars https://trac.fact-project.org/svn/branches/MarsBranchBasedOn17899 -m "another idea, ..."
     71    }}}
     72
     73After checking out this branch, you can check if you in fact did the right thing by changing into the working directory of your branch and do:
     74
     75    {{{
     76    svn co <your branch>
     77    cd <into that folder>
     78    svn log -v -r0:HEAD --stop-on-copy --limit 1
     79    }}}
     80
     81You'll get something like:
     82
     83    {{{
     84    rxxx | Author | <A DATE> | 1 line
     85    Changed paths:
     86        A /project/branches/branch (from /project/trunk/folder:ryyy)
     87    }}}
     88   
     89    The revision and path your branch were base on are: /project/trunk/folder:ryyy.
     90   
    6591== Before you commit something ==
    6692