On Thu, Jul 26, 2012 at 10:02 PM, Stephan Beal <[email protected]>wrote:

> On Thu, Jul 26, 2012 at 9:15 PM, Marc St. Onge <[email protected]> wrote:
>
>> changes. We realize that some other aspect of File A corrupted at some
>> point over that week and wish to rollback just File A to the beginning of
>> the week, but retain all changes to other files that were committed during
>> the week.
>
>
> A workaround, because i don't know the [or if there is a] command to do
> this:
>
> fossil co oldtag
> mv file1 ~/tmp/.
> fossil co trunk
> mv ~/tmp/file1 .
>
> Primitive, but it will work.
>

I think this is what the revert command do.
fossil revert -r <commit id> <file name>


>
>
>> Fossil seems to detect all of these changes just fine. My problem is more
>> about how to roll back such a directory. How can you roll back an entire
>> directory at once, without having to go get individual files? (there
>> could potentially be hundreds of files...)
>>
>
> See above. :/
>
> Maybe fossil can do this, but in my years with it i can't say i've tried,
> and i don't see anything in the 'help' which looks like it might do this.
>

I don't know if the revert command works for a full directory.

--
David Bariod
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to