bugArX revision control system - Bugs: bug #4766, new bug in dopatch with directory...

 
 

bug #4766: new bug in dopatch with directory renames and explicit tagging

Submitted by:  Walter Landry <landry>
Submitted on:  Sat 16 Aug 2003 04:48:13 PM UTC  
 
Severity: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 18 Aug 2004 03:45:28 AM UTC, comment #2:

Patch-446 implements centralized ids which should fix this problem. Should be in ArX-2.0.

Walter Landry <landry>
Project Administrator
Sat 15 Nov 2003 04:00:06 PM UTC, comment #1:

The problem is that the .arch-ids directory's inventory tag is always done with naming conventions. So it sees a move as a delete and add, leading to the problem you see. To fix it, I would have to add a tag to the .arch-ids directory, and that can't be done without breaking backwards compatibility. So I will just fix it when I fix bug #4947.

Walter Landry <landry>
Project Administrator
Sat 16 Aug 2003 04:48:13 PM UTC, original submission:

David Allouche <david@allouche.net> wrote:

> Hi, just found an annoying problem in Debian's arch-1.0pre18-2.
>
> <asuffield> 1.0pre18-2 is 1.0pre18 plus patch-85 through patch-89 and
> patch-94
>
> The crash course is the following:
>
> david@nemesis tmp$ mkdir -p t/a/b
> david@nemesis tmp$ touch t/a/b/c
> david@nemesis tmp$ cd t
> david@nemesis t$ larch init-tree
> david@nemesis t$ larch tagging-method explicit
> david@nemesis t$ larch add a a/b a/b/c
> david@nemesis t$ cd ..
> david@nemesis tmp$ cp -a t tt
> david@nemesis tmp$ cd t
> david@nemesis t$ mv a aa
> david@nemesis t$ cd ..
> david@nemesis tmp$ larch mkpatch tt t p
> david@nemesis tmp$ larch dopatch p tt
> david@nemesis tmp$ cd tt
> david@nemesis tt$ tree -a
> .
> |-- ++removed-by-dopatch---20030515.17:43:29
> | `-- a
> | |-- .arch-ids
> | `-- b
> | `-- .arch-ids
> |-- a
> | `-- b
> | `-- .arch-ids
> | |-- =id
> | `-- c.id
> |-- aa
> | |-- .arch-ids
> | | `-- =id
> | `-- b
> | `-- c
> `-- {arch}
> |-- .arch-project-tree
> `-- =tagging-method
>
> 12 directories, 6 files
> david@nemesis tt$
>
> In natural language: the .arch-ids directories of subdirectories of
> moved directories are not properly moved by dopatch.
>
> The log of dopatch is:
>
> ** put the renamed and new directories in new locations
>
> ./a/b/.arch-ids
> ./a
> => ./aa
> ./aa/.arch-ids
>
> ** put removed dirs in the archive
>
> ./a/.arch-ids
> ./a/b/.arch-ids
>
> ** install renamed files
>
> ./a/b/.arch-ids/=id |
> => ./a/b/.arch-ids/=id | this is wrong
> ./a/b/.arch-ids/c.id |
> => ./a/b/.arch-ids/c.id |
> ./a/.arch-ids/=id
> => ./aa/.arch-ids/=id
>
> This problem was confirmed by Andrew, and it seems there is no
> upstream fix available. Though that looks like a simple typo.
>
> Thanks for your help.
>
> --
> -- ddaa


Confirmed on ArX.

Thanks,
Walter

Walter Landry <landry>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

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

Date Changed By Updated Field Previous Value => Replaced By
Wed 18 Aug 2004 03:45:28 AM UTClandryStatusPostponed=>Fixed
  Open/ClosedOpen=>Closed
Sat 15 Nov 2003 04:00:06 PM UTClandryStatusNone=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1