bugmonotone - Bugs: bug #19078, import --no-respect-ignore does...

 
 

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

bug #19078: import --no-respect-ignore does not import everything

Submitted by:  Václav Haisman <wilx>
Submitted on:  Sun 18 Feb 2007 09:25:02 AM UTC  
 
Category: working copySeverity: 3 - Normal
Item Group: incorrect behaviorStatus: Fixed
Privacy: PublicAssigned to: Richard Levitte <rlevitte>
Open/Closed: Closed
mtn version --full: 

Cygwin's monotone 0.32 (base revision: unknown).

Sun 09 May 2010 10:36:29 AM UTC, comment #1:

I think the following shows that the problem has been fixed at some point in time.

: ; mkdir src
: ; cd src
: ; echo test >test.txt
: ; echo aaaa >test.a
: ; cd ..
: ; /usr/bin/mtn -d test.mtn db init
: ; cd src
: ; /usr/bin/mtn -k -unavailable- -d ../test.mtn -b test -m "initial import" import .
mtn: skipping ignorable file test.a
mtn: adding test.txt to workspace manifest
mtn: beginning commit on branch 'test'
mtn: committed revision 5bb6f254a4e7290b0cda493a2c2381519d6593ab
: ; /usr/bin/mtn -k -unavailable- -d ../test.mtn -b test -m "initial import" import --no-respect-ignore .
mtn: adding test.a to workspace manifest
mtn: beginning commit on branch 'test'
mtn: committed revision a3b38cbcd86956ace13bdd92cf81a342e3ff9358
: ; /usr/bin/mtn version --full
monotone 0.47 (base revision: 58eca89fab6322a14c219fb377eae54e21311986)
Running on : Linux 2.6.32-4-686 #1 SMP Tue Apr 6 07:02:27 UTC 2010 i686
C++ compiler : GNU C++ version 4.4.3
C++ standard library: GNU libstdc++ version 20100131
Boost version : 1_40
SQLite version : 3.6.23.1 (compiled against 3.6.23)
Lua version : Lua 5.1
PCRE version : 7.8 2008-09-05 (compiled against 7.8)
Botan version : 1.8.8 (compiled against 1.8.8)
Changes since base revision:
format_version "1"

new_manifest [69563b5f6cb9e1af6a87aebd6d672e721f646026]

old_revision [58eca89fab6322a14c219fb377eae54e21311986]

Generated from data cached in the distribution;
further changes may have been made.

Richard Levitte <rlevitte>
Project AdministratorIn charge of this item.
Sun 18 Feb 2007 09:25:02 AM UTC, original submission:

Hi,
it seem there is a bug in how import command is handled. In the commands trace bellow you can see that file test.a is ignored even though I specify --no-respect-ignore option.

amber2::WilX:~/tmp> mkdir test
amber2::WilX:~/tmp> cd test
amber2::WilX:~/tmp/test> ls
amber2::WilX:~/tmp/test> mkdir src
amber2::WilX:~/tmp/test> cd src
amber2::WilX:~/tmp/test/src> echo test >test.txt
amber2::WilX:~/tmp/test/src> echo aaaa >test.a
amber2::WilX:~/tmp/test/src> cd ..
amber2::WilX:~/tmp/test> mtn -d test.mtn db init
amber2::WilX:~/tmp/test> cd src
amber2::WilX:~/tmp/test/src> mtn -k -unavailable- -d ../test.mtn -b test -m "initial import" import .
mtn: adding test.txt to workspace manifest
mtn: beginning commit on branch 'test'
enter passphrase for key ID [v.haisman@sh.cvut.cz]:
mtn: committed revision 5bb6f254a4e7290b0cda493a2c2381519d6593ab
amber2::WilX:~/tmp/test/src> mtn -k -unavailable- -d ../test.mtn -b test -m "initial import" import --no-respect -ignore .
mtn: misuse: no changes to commit

Václav Haisman <wilx>

 

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 rlevitte (Posted a comment)
  • -unavailable- added by wilx (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 09 May 2010 10:36:29 AM UTCrlevitteStatusNone=>Fixed
      Assigned toNone=>rlevitte
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1