Ticket Change Details
Not logged in
Overview

Artifact ID: 4506b154ab45b36de8e6434ab41da7908d2e75f6
Ticket: ad15a8e2af8c3162d6e80f45a5ef9ef2dc4e9844
Cannot commit a renamed file specifying files
User & Date: drh 2010-11-24 17:14:52
Changes

  1. comment changed to:
    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.
    
    <hr /><i>wolfgang added on 2010-10-01 10:27:35:</i><br />
    but
    
    fossil commit
    
    will work.
    
    <hr /><i>anonymous added on 2010-10-01 19:10:28:</i><br />
    Yes, "fossil commit" will work, but partial commit as in "fossil commit file1 file2" will not work.
    
    <hr /><i>anonymous added on 2010-11-24 13:54:17:</i><br />
    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.
    
  2. resolution changed to: "Fixed"
  3. status changed to: "Fixed"