[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[TSVN] Set file attributes

From: Adam Pond <coderpond_at_yahoo.com.au>
Date: 2005-04-29 03:41:48 CEST

Tortoise dev team

I couldn't find this mentioned in the issue tracking DB, but that doesn't
necessarily mean it's not there.

I would like to propose tortoise make use of the Archieve attribute for
files, found in the advance section of the properties (at least on XP it
is). If done correctly, it would enable users to sort by attributes in
windows explorer and have all files that have been modified since checkout
grouped together. Having recently converted from VSS, this was something
that I did regularly as files that were not checked out were marked as read
only. Currently, to do the same thing with tortoise, I have to visually scan
for files with the glyph changed, or use the "check for modifications"
option in tortoise on the parent folder.

Since the user can currently set this flag manually, I would not suggest
that the flag be used in any way by tortoise to record the modified state,
but just set it based on its current state.

There are two ways that I can think of for implementing this. The first
would be to set the flag to false (not modified) when the glyph is set to
not modified (the green tick), and true (modified) when anything else. The
second is to manually set when actions from the tortoise menu are
successful.

Some suggestions on when to set the flag to specific values include:
Action Condition Set Flag
Checkout N/A false (not modified)
update no conflict false (not modified)
update conflict true (modified)
rename N/A true (modified)

I personally feel that the first option would be simpler to implement and
provide the greatest use as files can often be modified manually back to
their original state, in which case the glyph will change, but the file
attribute will not in the second case.

I would appreciate your thoughts on this issue as there is a possibility
that given some assistance, I may be able to assist with the development of
this issue if it is a benefit to Tortoise.

Regards,

Adam Pond
Senior software engineer.
Received on Fri Apr 29 08:30:14 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.