Michael Olson <[EMAIL PROTECTED]> writes:

> Matthieu Moy <[EMAIL PROTECTED]> writes:
>
>> Michael Olson <[EMAIL PROTECTED]> writes:
>>
>>>   (bzr-submit-patch): Put ".tmp-" in front of the patch name, in order to
>>>   follow the same convention as the log-edit file created by DVC.
>>
>> Seems a bit weird to me. Use the .tmp- to create the file is OK, but
>> you're sending a .tmp file by email. The recipient may want to save it
>> to disk, and will wonder where the file has gone if he didn't notice
>> that it was a hidden file!
>
> What would you suggest as an alternative?

Perhaps not using a temporary file, but a temporary buffer? Gnus does
this for example when you forward a mail with attachments.

Otherwise, perhaps .tmp-gnus/name-of-the-patch, so that the attachment
is named only after "name-of-the-patch".

> This has the benefit of staying out of the "bzr status" output.

if you have to leave a temporary file behind, yes, it's better to keep
it ignored.

-- 
Matthieu

_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to