I’m aware of the “within the repository”, and actually I’m not among those who 
are so interested in this changing this, as proposed by others.  So, not the 
same issue here.

What I’m reporting is unrelated to changes happening on disk.  If you run the 
example below you should not be allowed to close the repo since there are 
uncommitted changes (the mv).  But, since nothing actually happened, and that 
exactly is the problem I’m seeing, you can close it normally (without –force).

This looks like a bug to me.
From: Michael Richter 
Sent: Tuesday, April 21, 2015 11:24 AM
To: Fossil SCM user's discussion 
Subject: Re: [fossil-users] Bug? FOSSIL MV does not work as expected 
(Win7machine)

The key wording there is "within the repository tree". 

It doesn't change the file system, only the naming of the files, etc. in the 
repository.  Whether this is desired or correct behaviour is … an area of 
frequent discussion.

My own response to that discussion is to use the fsl wrapper 
(http://fossil.0branch.com/fsl/home) and make it do whatever I expect it to do.

On 17 April 2015 at 21:48, Tony Papadimitriou <to...@acm.org> wrote:

  This is on a Win7 machine (if it matters).  A simple way to reproduce (f = 
fossil):

  f new xxx.fossil
  f o xxx.fossil
  mkdir a\a
  dir > a\a\xxx
  f add a
  f com -m "Initial"
  f mv a\a b
  f close

  Based on help screen, and usual behavior of mv, I would expect subdirectory 
a\a to be now known as b, and of course all files below to move accordingly.  
But nothing happens.  If I move each file separately, it works.

  This is what the help screen shows:

  Usage: f mv|rename OLDNAME NEWNAME
     or: f mv|rename OLDNAME... DIR

  Move or rename one or more files or directories within the repository tree.
  You can either rename a file or directory or move it to another subdirectory.


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






-- 

"Perhaps people don't believe this, but throughout all of the discussions of 
entering China our focus has really been what's best for the Chinese people. 
It's not been about our revenue or profit or whatnot."
--Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra.


--------------------------------------------------------------------------------
_______________________________________________
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

Reply via email to