Re: [fossil-users] Problem: Can't get diff against renamed file

2014-04-30 Thread j. van den hoff
On Tue, 29 Apr 2014 19:50:39 +0200, Richard Hipp d...@sqlite.org wrote: File renames are uncommon in Fossil itself. See http://www.fossil-scm.org/fossil/test-rename-list for a complete list of all file renames that have occurred over the entire 6.78-year history of Fossil. Renames in SQLite

Re: [fossil-users] Problem: Can't get diff against renamed file

2014-04-30 Thread Stephan Beal
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

Re: [fossil-users] Problem: Can't get diff against renamed file

2014-04-30 Thread Stephan Beal
On Wed, Apr 30, 2014 at 11:09 PM, Stephan Beal sgb...@googlemail.comwrote: For those who haven't seen this (i think the command itself was renamed?): Sorry for the confusion: Richard referred to a WWW page for doing this, not a CLI command (which is also useful but doesn't currently show all

Re: [fossil-users] Problem: Can't get diff against renamed file

2014-04-30 Thread j. van den hoff
On Wed, 30 Apr 2014 23:09:45 +0200, Stephan Beal sgb...@googlemail.com 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

Re: [fossil-users] Problem: Can't get diff against renamed file

2014-04-30 Thread j. van den hoff
On Wed, 30 Apr 2014 23:12:45 +0200, Stephan Beal sgb...@googlemail.com wrote: On Wed, Apr 30, 2014 at 11:09 PM, Stephan Beal sgb...@googlemail.comwrote: For those who haven't seen this (i think the command itself was renamed?): Sorry for the confusion: Richard referred to a WWW page

Re: [fossil-users] Problem: Can't get diff against renamed file

2014-04-30 Thread Stephan Beal
On Wed, Apr 30, 2014 at 11:34 PM, j. van den hoff veedeeh...@googlemail.com wrote: On Wed, 30 Apr 2014 23:12:45 +0200, Stephan Beal sgb...@googlemail.com wrote: Sorry for the confusion: Richard referred to a WWW page for doing this, not a CLI command (which is also useful but doesn't

Re: [fossil-users] Problem: Can't get diff against renamed file

2014-04-30 Thread tonyp
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: e0, file ..\src\bag.c, line 122 Stephan Beal wrote: On Wed, Apr 30, 2014 at 11:02 PM, j. van den hoff

Re: [fossil-users] Problem: Can't get diff against renamed file

2014-04-30 Thread Stephan Beal
On Wed, Apr 30, 2014 at 11:36 PM, to...@acm.org wrote: 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: e0, file ..\src\bag.c, line 122 Reproducible here. i'll take a

Re: [fossil-users] Problem: Can't get diff against renamed file

2014-04-30 Thread Stephan Beal
On Wed, Apr 30, 2014 at 11:38 PM, Stephan Beal sgb...@googlemail.comwrote: On Wed, Apr 30, 2014 at 11:36 PM, to...@acm.org wrote: 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

[fossil-users] Problem: Can't get diff against renamed file

2014-04-29 Thread Tony Papadimitriou
If I rename a file (both on disk and with FOSSIL REN command), and then try to do a [G]DIFF command –FROM a date where the file had the old name, I get the message that the file does not exist in that checkin. So, once I rename a file I lose the connection to all its history and the changes

Re: [fossil-users] Problem: Can't get diff against renamed file

2014-04-29 Thread Stephan Beal
On Tue, Apr 29, 2014 at 5:41 PM, Tony Papadimitriou to...@acm.org wrote: If I rename a file (both on disk and with FOSSIL REN command), and then try to do a [G]DIFF command –FROM a date where the file had the old name, I get the message that the file does not exist in that checkin. So,

Re: [fossil-users] Problem: Can't get diff against renamed file

2014-04-29 Thread j. van den hoff
On Tue, 29 Apr 2014 17:48:10 +0200, Stephan Beal sgb...@googlemail.com wrote: On Tue, Apr 29, 2014 at 5:41 PM, Tony Papadimitriou to...@acm.org wrote: If I rename a file (both on disk and with FOSSIL REN command), and then try to do a [G]DIFF command –FROM a date where the file had the

Re: [fossil-users] Problem: Can't get diff against renamed file

2014-04-29 Thread Tony Papadimitriou
Stephan Beal wrote: Correct, because fossil's only way of knowing the identity of a file is its name. If you take my name, everyone will think you're me. Nothing i can do about that. The SHA1 unique identifies the version of the content, but the name gives us a place under which to organize

Re: [fossil-users] Problem: Can't get diff against renamed file

2014-04-29 Thread Stephan Beal
On Tue, Apr 29, 2014 at 6:18 PM, j. van den hoff veedeeh...@googlemail.comwrote: I understand that that's the current state of affairs. I don't understand whether this could/should not be changed. Patches welcomed :) I of course don't know the inner workings of fossil but I know that a

Re: [fossil-users] Problem: Can't get diff against renamed file

2014-04-29 Thread Stephan Beal
On Tue, Apr 29, 2014 at 6:18 PM, Tony Papadimitriou to...@acm.org wrote: I see the simplistic approach. On the other hand, if I decided to change my name at some point, the authorities should be able to trace my current name to my birth name, to figure out who I am, and my ‘criminal’

Re: [fossil-users] Problem: Can't get diff against renamed file

2014-04-29 Thread Richard Hipp
The infrastructure exists for Fossil to recognize name changes: http://www.fossil-scm.org/fossil/artifact/59e624a3955?ln=353-376 That infrastructure is currently used for the update and merge commands. But it has not yet been incorporated into the diff command. On Tue, Apr 29, 2014 at

Re: [fossil-users] Problem: Can't get diff against renamed file

2014-04-29 Thread j. van den hoff
On Tue, 29 Apr 2014 18:28:06 +0200, Stephan Beal sgb...@googlemail.com wrote: On Tue, Apr 29, 2014 at 6:18 PM, j. van den hoff veedeeh...@googlemail.comwrote: I understand that that's the current state of affairs. I don't understand whether this could/should not be changed. Patches

Re: [fossil-users] Problem: Can't get diff against renamed file

2014-04-29 Thread j. van den hoff
another related thing: after fossil ren A B I get the message RENAME A B when then doing mv A B as well, `fossil changes' (IIRC or was it `status' as well?) tells me RENAMED A B #note the change RENAME - RENAMED both of which is fine. after checkin, however, fossil timeline -showfiles

Re: [fossil-users] Problem: Can't get diff against renamed file

2014-04-29 Thread Andy Goth
On 4/29/2014 11:36 AM, Richard Hipp wrote: The infrastructure exists for Fossil to recognize name changes: http://www.fossil-scm.org/fossil/artifact/59e624a3955?ln=353-376 That infrastructure is currently used for the update and merge commands. But it has not yet been incorporated into the

Re: [fossil-users] Problem: Can't get diff against renamed file

2014-04-29 Thread Richard Hipp
File renames are uncommon in Fossil itself. See http://www.fossil-scm.org/fossil/test-rename-list for a complete list of all file renames that have occurred over the entire 6.78-year history of Fossil. Renames in SQLite are similarly scarce ( http://www.sqlite.org/src/test-rename-list). Hence,

Re: [fossil-users] Problem: Can't get diff against renamed file

2014-04-29 Thread j. van den hoff
On Tue, 29 Apr 2014 19:50:39 +0200, Richard Hipp d...@sqlite.org wrote: File renames are uncommon in Fossil itself. See http://www.fossil-scm.org/fossil/test-rename-list for a complete list of all file renames that have occurred over the entire 6.78-year history of Fossil. Renames in SQLite