bugmonotone - Bugs: bug #8915, Automatically add an entry to...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #8915: Automatically add an entry to .mt-attrs for executables

Submitted by:  Joel Rosdahl <jrosdahl>
Submitted on:  Wed 12 May 2004 09:07:29 PM UTC  
 
Category: command line UISeverity: 3 - Normal
Item Group: feature requestStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed
mtn version --full: 

Sun 24 Apr 2005 02:48:45 AM UTC, comment #3:

fixed in mainline.

Nathaniel Smith <njs>
Project Member
Wed 13 Apr 2005 02:05:06 AM UTC, comment #2:

I think the right way to do this is to add a hook, called by "monotone add", that is passed the filename of the file being added, and returns a table of attributes that should be applied to that file. Then "monotone add" would set those attributes, using similar logic to "monotone attr set". Should be pretty straightforward.

Nathaniel Smith <njs>
Project Member
Tue 12 Apr 2005 10:12:35 PM UTC, comment #1:

I would raise priority if I could... this is rather essential feature I believe. If one forgets it, it nicely screws up things, and really hard to fix afterwards (figuring out which files were supposed to be executable).
I see no reason not to do this.

Peter Gervai <grin>
Wed 12 May 2004 09:07:29 PM UTC, original submission:

Automatically add an "execute" entry to .mt-attrs when adding an executable file?

Joel Rosdahl <jrosdahl>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 24 Apr 2005 02:48:44 AM UTCnjsOpen/ClosedOpen=>Closed
Tue 12 Apr 2005 10:10:06 PM UTCgrinCarbon-Copy-=>Added grin
Tue 12 Apr 2005 10:08:38 PM UTCgrinCarbon-CopyRemoved -unavailable-=>-
Tue 12 Apr 2005 10:08:04 PM UTCgrinCarbon-Copy-=>Added -unavailable-

Back to the top


Powered by Savane 3.1-cleanup1