bugmonotone - Bugs: bug #19597, mtn should not allow files to be...

 
 

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

bug #19597: mtn should not allow files to be both ignored and in the workspace

Submitted by:  Richard Laager <rlaager>
Submitted on:  Sun 15 Apr 2007 05:16:39 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: incorrect behaviorStatus: Wont Fix
Privacy: PublicAssigned to: None
Open/Closed: Closed
mtn version --full: 

monotone 0.34 (base revision: unknown)
Running on : Linux 2.6.17-11-generic #2 SMP Tue Mar 13 23:32:38 UTC 2007 i686
C++ compiler : GNU C++ version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
C++ standard library: GNU libstdc++ version 20060309
Boost version : 1_33_1
Changes since base revision:
unknown

Sat 08 May 2010 10:09:04 PM UTC, comment #3:

This has been "Wontfix" for 3 months, it should probably be closed.

Timothy Brownawell <tbrownaw>
Project Member
Thu 04 Feb 2010 01:00:18 AM UTC, comment #2:

The whole point of .mtn-ignore is to ignore some files that are in the workspace. I suspect you mean "it seems wrong that some files are ignored and known (committed) at the same time)". This is a deliberate design decision.

Stephen Leake <stephen_leake>
Project Member
 Spam posted by an anonymous
Mon 16 Apr 2007 09:13:28 PM UTC, comment #1:

Its actually possible to add already ignored files, by adding the --no-respect-ignore option to mtn add. Check mtn add --help for more info.
Personally I find this behaviour quite useful, IMHO much better than forcing the user to edit his mtn-ignore file to be able to actually add the file to version control.

Thomas Keller <tommyd>
Project Administrator
Sun 15 Apr 2007 05:16:39 PM UTC, original submission:

We had a situation where some regexes were not properly anchored, so files were being improperly "ignored". I don't know if that had any practical effects (other than errors with mtn add), but it seems wrong that a file can be ignored and in the workspace at the same time.

For example:
touch configure configure.ac
mtn add configure.ac # works
echo configure >> .mtn-ignore
mtn add configure.ac # cries

Richard Laager <rlaager>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by tbrownaw (Posted a comment)
  • -unavailable- added by stephen_leake (Posted a comment)
  • -unavailable- added by tommyd (Posted a comment)
  • -unavailable- added by rlaager (Submitted the item)
  •  

    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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 08 May 2010 10:09:04 PM UTCtbrownawOpen/ClosedOpen=>Closed
    Thu 04 Feb 2010 10:15:40 AM UTCtommydStatusNone=>Wont Fix

    Back to the top


    Powered by Savane 3.1-cleanup1