Submitted by Ben Morphett (ben.morphett@silverbrookresearch.com)
When you move a file, and then you do an "aecp -delta X", (where X is a delta earlier than the move), then the change set has 2 copies of the file, one in each of the old and the new locations.
This is reproducable (every time) in aegis version 4.22.D005.
I'm running on a Linux box ("Linux ... 2.4.28-gentoo-r9 #4 SMP Thu Dec 28 07:50:47 EST 2006 i686 Intel(R) Xeon(TM) CPU 2.80GHz GenuineIntel GNU/Linux")
Here is some output that displays the bug in action. When I moved the files, one file I moved was renamed from "01-General/04-Software_Modules/lib/bob.cpp" to
"12-QAInfrastructure/01-General/04-Software_Modules/lib/bob.cpp".
-------------------------------------------
Project "bmtest.1.0" Page 1
History Fri Apr 13 14:22:11 2007
Delta Date and Time Change Description
------- --------------- ------- -------------
1 Fri Apr 13 10 add aegis.conf
13:19:08 2007
2 Fri Apr 13 11 Add lots of files
13:36:37 2007
3 Fri Apr 13 13 modify the files
13:53:37 2007
4 Fri Apr 13 14 move the files one directory down
14:10:37 2007
5 Fri Apr 13 15 modify the files
14:21:03 2007
$ aecp . -delta 4 # gets out all of the files twice! Bug! Once for the
# original directory, once for the final directory.
$ cat 01-General/04-Software_Modules/lib/bob.cpp
test source file 01-General/04-Software_Modules/lib/bob.cpp
modified by change 13
moved by change 14
$ cat 12-QAInfrastructure/01-General/04-Software_Modules/lib/bob.cpp
test source file 01-General/04-Software_Modules/lib/bob.cpp
modified by change 13
moved by change 14
$ aegis -l -ter cf | grep bob.cpp
01-General/04-Software_Modules/lib/bob.cpp
12-QAInfrastructure/01-General/04-Software_Modules/lib/bob.cpp
Logged In: YES
user_id=117883
Originator: NO
This bug has been fixed both in the 4.23 branch and in 4.22.2