Re: [fossil-users] Issue in adding files

2011-05-04 Thread Wouter Lindenhof
On Tue, May 3, 2011 at 8:36 AM, Arjen Markus arjen.mar...@deltares.nl wrote:
 Hello,

 I ran into a small issue while adding two files to my repository,
 using a somewhat old version of fossil, so it may be that the problem
 has already been solved. Anyway, here is the scenario:

 fossil add filea fileb

 where filea is the name of an existing file and fileb contains a typo,
 so fossil is quite right in complaining about that one. However, the
 message is something like:

 ADDED: filea
 fileb not found ...

 This looks as if filea was added and fileb was not. So, subsequently
 I did:

 fossil add fileb_correct

 And then I did:

 fossil commit

 The list of files that were modified or added did NOT include filea!
 The fact that fileb was an invalid name nullified the addition of filea
 to the repository despite the message on the screen. As there was no
 indication at all of this, I thought filea was in fact added.

 Regards,

 Arjen


 DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
 contain confidential and privileged information. If you are not the intended 
 recipient please notify the sender immediately and destroy this message. 
 Unauthorized use, disclosure or copying of this message is strictly 
 prohibited.
 The foundation 'Stichting Deltares', which has its seat at Delft, The 
 Netherlands, Commercial Registration Number 41146461, is not liable in any 
 way whatsoever for consequences and/or damages resulting from the improper, 
 incomplete and untimely dispatch, receipt and/or content of this e-mail.




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


Dear Arjen,

I think that is by design (don't quote me on that). But as I see it
the action of adding files is a transaction and when something in a
transaction fails, the entire transaction is rolled back. I would
interpret the message as: The transaction failed due to the fact that
fileb was not found.

The latest version (windows 2011-04-13 12:05:18) only says that the
file was not found and nothing else. I think it would be a good idea
to have it one extra message (the fact that the entire add failed) is
added.

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


[fossil-users] Issue in adding files

2011-05-03 Thread Arjen Markus
Hello,

I ran into a small issue while adding two files to my repository,
using a somewhat old version of fossil, so it may be that the problem
has already been solved. Anyway, here is the scenario:

fossil add filea fileb

where filea is the name of an existing file and fileb contains a typo,
so fossil is quite right in complaining about that one. However, the
message is something like:

ADDED: filea
fileb not found ...

This looks as if filea was added and fileb was not. So, subsequently
I did:

fossil add fileb_correct

And then I did:

fossil commit

The list of files that were modified or added did NOT include filea!
The fact that fileb was an invalid name nullified the addition of filea
to the repository despite the message on the screen. As there was no
indication at all of this, I thought filea was in fact added.

Regards,

Arjen
 

DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
contain confidential and privileged information. If you are not the intended 
recipient please notify the sender immediately and destroy this message. 
Unauthorized use, disclosure or copying of this message is strictly prohibited.
The foundation 'Stichting Deltares', which has its seat at Delft, The 
Netherlands, Commercial Registration Number 41146461, is not liable in any way 
whatsoever for consequences and/or damages resulting from the improper, 
incomplete and untimely dispatch, receipt and/or content of this e-mail.




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