On Oct 24, 2009, at 10:57 AM, Nick B wrote:

> I have a number of modified files but I would like to commit only a
> few files in a single subdirectory.
>
> Typing "fossil changes" returns
> <snip list of EDITED files>
> MISSING  brightside/images/bg.gif
> EDITED   brightside/images/headerbg.gif
> EDITED   brightside/images/tableft.gif
> EDITED   brightside/images/tabright.gif
>
> In the parent directory if I enter:
> "fossil commit images" or "fossil commit images/" returns
> "fossil: fossil knows nothing about: images/"
>
> Similarly if I use:
>
> "fossil commit images/*" returns
> "fossil: fossil knows nothing about: images/bg.gif.old"
>
> In this case the file bg.gif.old can be safely ignored as I only want
> to commit edited files.
>
> What command do I use to commit the subdirectory images?

There is no command to commit a subdirectory.  You can commit  
individual files by naming them on the commit command-line, but there  
is no shorthand for specifying all the files in a subdirectory.

In your case, it might work to do:

     fossil commit images/*.gif

since the .gif suffix will omit the .old file.  But there is no  
general solution at this time.

You are welcomed to contribute one :-)


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

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

Reply via email to