But there are some problems (This is fossil version 1.29 [003db810a2] 
2014-04-30 18:02:45 UTC):

fossil test-name-changes -R \db\some.fossil prev trunk
Assertion failed: e>0, file ..\src\bag.c, line 122

Stephan Beal wrote:

On Wed, Apr 30, 2014 at 11:02 PM, j. van den hoff <veedeeh...@googlemail.com> 
wrote:

  just a short feedback: I think keeping the `test-rename-list' would be a 
welcome additional feature (even if rename-aware diff would become a reality). 
at least it helps to keep track of what renames have happened at some time or 
other (and thus allows to do the diff across the rename manually if everything 
else fails).


+1.

For those who haven't seen this (i think the command itself was renamed?):

[stephan@host:~/cvs/fossil/cwal]$ f help test-name-changes
Usage: f test-name-changes [--debug] VERSION1 VERSION2

Show all filename changes that occur going from VERSION1 to VERSION2

[stephan@host:~/cvs/fossil/cwal]$ f test-name-changes rid:1 tip
------ Changes for (1) rid:1 -> (3687) tip
[th1ish/20.th1ish] -> [th1ish/unit/000-020.th1ish]
[th1ish/19.th1ish] -> [th1ish/unit/000-019.th1ish]
....
[s1/th1ish.c] -> [th1ish/th1ish.c]

[cwal_list.h] -> [include/wh/cwal/cwal_list.h]


(28 files in total for this repo, where i once moved 22 test scripts.)

 
  I presume reorganizing a modest-size project by moving stuff from one subdir 
to another could really cause
  quite a bit of trouble when wanting to diff against old revisions afterwards.

"presume" implies that you've never had a real problem with it ;).

It may also mean he never dared to try fearing the consequences...  We all need 
to re-organize our projects from time to time and this naming problem makes it 
a no-no!
By the way, the frequency of FOSSIL or SQLITE project filename changes are NOT 
a measure by which to estimate the need for this feature.  Unless FOSSIL was 
only meant to be used for these two specific projects!  Renaming or moving 
around files is a quite common operation in most projects as they grow more 
complex.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to