[fossil-users] File List via the Files Menu... Listing old files?

2009-12-08 Thread Jeremy Cowgar
I do not use the Files link much, at all, however today I noticed that the 
File List via the main toolbar's Files link shows files that are no longer 
in the repo. Well, in any current leaf that is. They are obviously there in old 
revisions.

Is this the designed behavior? You can see this on:

  http://jeremy.cowgar.com/mailroom/index.cgi/dir

See the files combobox.tcl and notebook.tcl ? Those were removed a while 
ago from a commit. You can see via the Leaves link

  http://jeremy.cowgar.com/mailroom/index.cgi/leaves

that there is only one active leaf and viewing it's files link you can see that 
the two mentioned files are no longer part of the project.

  http://jeremy.cowgar.com/mailroom/index.cgi/dir?ci=a3ee17ca11

Jeremy

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] File List via the Files Menu... Listing old files?

2009-12-08 Thread Stephan Beal
On Tue, Dec 8, 2009 at 4:15 PM, Jeremy Cowgar jer...@cowgar.com wrote:

  If you want the Files button on the main menu to only show currently
  existing files, simply change the link to be
 
   /dir?ci=trunk

 I think I will do that. To me it's more likely that someone will browse the
 Files link thinking it is the current files list. If they want a legacy
 file, they can always update to the revision they wish to work with.


i think it would make sense to mark files which aren't in the
currently-browsed version, such as rendering them like [foo.c] or (foo.c) or
simply *foo.c. When browsing an old version, we don't really want to see
files which weren't in that version. That implies that we should mark old
files using one convention and future files using another, e.g. [foo.c]
for old and (foo.c) for exists-in-the-future.

:-?

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] File List via the Files Menu... Listing old files?

2009-12-08 Thread D. Richard Hipp

On Dec 8, 2009, at 10:19 AM, Stephan Beal wrote:

 On Tue, Dec 8, 2009 at 4:15 PM, Jeremy Cowgar jer...@cowgar.com  
 wrote:
  If you want the Files button on the main menu to only show currently
  existing files, simply change the link to be
 
   /dir?ci=trunk

 I think I will do that. To me it's more likely that someone will  
 browse the Files link thinking it is the current files list. If  
 they want a legacy file, they can always update to the revision they  
 wish to work with.

 i think it would make sense to mark files which aren't in the  
 currently-browsed version, such as rendering them like [foo.c] or  
 (foo.c) or simply *foo.c. When browsing an old version, we don't  
 really want to see files which weren't in that version. That implies  
 that we should mark old files using one convention and future  
 files using another, e.g. [foo.c] for old and (foo.c) for exists-in- 
 the-future.



How does Fossil know what the currently-browsed version is?

D. Richard Hipp
d...@hwaci.com



___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] File List via the Files Menu... Listing old files?

2009-12-08 Thread Ramon Ribó
In practical terms, it is very annoying and confusing to go to the
files section and see that the file that we introduced by error
several years ago and immediately after deleted, is listed there as a
normal file.

In my opinion, the best option would be to list by default the files
of the last version of the trunk, and include a button named All
versions, that would redirect to the current behavior.


2009/12/8 Stephan Beal sgb...@googlemail.com:
 On Tue, Dec 8, 2009 at 4:26 PM, D. Richard Hipp d...@hwaci.com wrote:

 How does Fossil know what the currently-browsed version is?

 Great question :). i assumed that there was an argument, e.g. ci=VERSION,
 which could be used to specify that. But i'm also still thinking in terms of
 versions in the way that cvs/svn/etc use them, which probably isn't that
 useful in this context.
 --
 - stephan beal
 http://wanderinghorse.net/home/stephan/

 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] File List via the Files Menu... Listing old files?

2009-12-08 Thread Michael
On Tue, Dec 08, 2009 at 09:47:18AM -0500, D. Richard Hipp wrote:
 
 On Dec 8, 2009, at 9:43 AM, Jeremy Cowgar wrote:
 
  I do not use the Files link much, at all, however today I noticed  
  that the File List via the main toolbar's Files link shows files  
  that are no longer in the repo. Well, in any current leaf that is.  
  They are obviously there in old revisions.
 
  Is this the designed behavior?
 
 Yes, it is by design.  How else do you propose to get to legacy files?
 
 To view the files current for a particular check-in, use the Files  
 link on the information page for that particular check-in.
 
 If you want the Files button on the main menu to only show currently  
 existing files, simply change the link to be
 
  /dir?ci=trunk
 
 
 
 D. Richard Hipp
 d...@hwaci.com
 
_

 Perhaps it would be useful to change the link name to 
 'All Files', or add a note on the resulting page 
 indicating you are viewing all files from beginning of project.

 I like that the Files link shows all files.  How else do I find
 that old file from ... uhh, I remember I wrote it and deleted it
 about, hmmm, three months ago ?  But now I want to take a look
 at it again.  (a rephrasing of drh's point above).  I find
 this very useful behaviour.

 I don't want to start looking through version (check-in) after
 version (timeline - version - files) to find some file from
 the past.


 If I am looking at a particular version, only those files
 (from that check-in) will show anyway (again, as previously
 pointed out by drh).

 
~Michael
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users