Fossil SCM

Cannot commit a renamed file specifying files

Fixed

ad15a8e2af8c316… · opened 15 years, 6 months ago

Type
Code_Defect
Priority
Severity
Important
Resolution
Fixed
Subsystem
Created
Oct. 1, 2010 8:27 a.m.

After doing the operation: $ fossil mv filea fileb $ mv filea fileb

A status shows a rename for 'fileb'. Trying to run: $ fossil commit fileb

shows: fossil: file 'fileb' has not changed

So having other changes in the working directory, I don't know how could I commit only the rename.


wolfgang added on 2010-10-01 10:27:35: but

fossil commit

will work.


anonymous added on 2010-10-01 19:10:28: Yes, "fossil commit" will work, but partial commit as in "fossil commit file1 file2" will not work.


anonymous added on 2010-11-24 13:54:17: I have the same problem even with the most recent version of fossil [cf178577ec].

The only way I can commit a rename/mv is by committing all the files which is not what I want to do. I have stuff pending that is not ready to be committed but the rename can be committed now.


anonymous added on 2010-11-25 01:30:57: I see that the resolution is fixed but... no comment. Which version/hash of fossil has this fix? It would be nice to have this information so I can test it... :)

Thanks


drh added on 2010-11-25 01:34:58: If you click on the timeline link in the sub-menu bar on this page, you see a timeline of all changes to this ticket interspersed with all check-ins related to this ticket. From that, you can easily see that the fix occurred with check-in [2ceeeca19dfea6ed]






Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button