ktd2004 / tortoisesvn

Automatically exported from code.google.com/p/tortoisesvn
0 stars 0 forks source link

Add an ignore option to SubWCRev #651

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using SubWCRev to show software revision of some embedded firmware in an 
on-screen display. A customer asked me today why the revision number had 
changed as I had not told him about any software changes. The answer is that I 
had changed one of the helper batch files in the same directory, not anything 
in the software.

So what would be useful to ensure that SubWCRev is only looking at the relevant 
files would be to have some sort of include and/or exclude mechanism. Exclude 
is possibly easier, a sort of .subwcrevignore file. Ideally it would be a 
filename specified on the command line, as you might have several different 
builds in the same directory:

subwcrev . version.in.h version.h -nqi ignorethese.txt

Original issue reported on code.google.com by simon.to...@gmail.com on 3 Jun 2014 at 7:51

GoogleCodeExporter commented 9 years ago
I'm going with the .subwcrevignore file:
it can contain patterns to ignore, one pattern on every line. The pattern must 
match the path or filename.

First SubWCRev should look for the .subwcrevignore file at the specified path, 
then at the working copy root.

Original comment by tortoisesvn on 3 Sep 2014 at 6:22

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r25817.

Original comment by tortoisesvn on 3 Sep 2014 at 7:36

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r25818.

Document the .subwcrevignore file.

Original comment by tortoisesvn on 3 Sep 2014 at 8:09