Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><strong>Preface</strong></p> <p>If you want to have global revision number for repository, you get <em>wrong solution</em> and implement even this bad solution in <em>not optimal way</em></p> <p><strong>Face</strong></p> <ul> <li>Max revision ID for repository is always accessible inside Working Copy without additional tricks.</li> </ul> <blockquote> <pre><code>$svn info . ... Revision: 9012 Node Kind: directory ... Last Changed Rev: 5381 ... </code></pre> </blockquote> <p>or</p> <blockquote> <p>$svnversion</p> <p>9012</p> </blockquote> <ul> <li>Revision of file (which differ from repo-revision) can be obtained with pure $Revision$ keyword</li> <li>Revision of file is <strong>local</strong> property, unrelated to repository revisions, show only when <strong>this file was changes last time</strong>, you have to change file revisions.txt on <strong>every</strong> commit in your workflow</li> <li>I see no reasons for using 1. auto-props 2. for all php-files. If you want tohave svn:keyword in one file, you can add keyword to this file (revisions.txt) and <code>svn propset</code> for this and only this file</li> <li>svn:keyword will be expanded to it's value <strong>inside working copy</strong>, all repo-browsers will show <a href="http://www.assembla.com/code/customlocations-greylink/subversion/nodes/trunk/SignalTV.ini?rev=1143" rel="nofollow">source-text without expansion</a> (you can checkout shown file and see all used keywords nicely expanded)</li> <li>After all, if you want to provide 1. revision number 2. of repository 3. for unversioned copy of your sources (because for versioned WC we already have it), you can think about some type of building system, which, except 'svn export', build needed file with requested data <strong>inside exported source tree</strong>. Which tools (and technique) to use is OS-dependent (and a question of available tools): SubWCRev on Windows (part of TSVN) works nice, port and equivalent in Tux-world also exist. In common - you have versioned template-file, which (as part of build-process) is converted to file with actual fresh data, when you prepare unversioned bundle. Such way I get from <code>svn.exe export ... z:\trunk$WCDATE=%Y%m%d$-r$WCREV$</code> pattern command to export into unique dir-name and the same WCDATE template in text-file replaced with human-readable and informative data, <code>$WCDATE=%Y%m%d$-r$WCREV$</code> was <strong>20120122-r1143</strong> at latest commit </li> </ul>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload