Re: develop_begin_command - can't change directory
Cal Webster <[email protected]>
| Newsgroups | gmane.comp.version-control.aegis.user |
|---|---|
| Message-ID | <1337015594.28237.13.camel@kc130ssa> |
On Sat, 2012-05-12 at 14:03 +1000, Peter Miller wrote: > On Fri, 2012-05-11 at 17:37 -0400, Cal Webster wrote: > > aegis: project "av8b94.17": change 3: development directory > > "/home/cwebster/aegis/av8b94.17.C003" > > aegis: logging to "/home/cwebster/aegis/av8b94.17.C003/aegis.log" > > aegis: cd /home/cwebster/aegis/av8b94.17.C003 > > aegis: cd hostcomp/ ; rm *.d ; make dep > > /bin/sh: line 0: cd: hostcomp/: No such file or directory > > > if you use "pwd;ls" what does it tell you? The project I was testing on had to be stabilized for outsource contractors so I've duplicated it in a virtual machine with a reconstituted project. I modified aegis.conf as follows: aegis.conf ---------- develop_begin_command = "pwd ; ls"; ---------- I modified the top-level Makefile to simplify aeb: hostcomp/Makefile ----------------- all: dep ----------------- Of course, to test any modification to aegis.conf the change must first be integrated. After integrating the above changes, I opened a new change and began development. [cwebster@pegasus ~]$ aenc -p av8b94.17 -c 2 ... [cwebster@pegasus ~]$ aedb -p av8b94.17 -c 2 aegis: project "av8b94.17": change 2: development directory "/home/cwebster/test/aegis/av8b94.17.C002" aegis: logging to "/home/cwebster/test/aegis/av8b94.17.C002/aegis.log" aegis: cd /home/cwebster/test/aegis/av8b94.17.C002 aegis: pwd ; ls /home/cwebster/test/aegis/av8b94.17.C002 aegis.log aegis: project "av8b94.17": change 2: merging files from all baselines into working directory according to directory style aegis: project "av8b94.17": change 2: user "cwebster" has begun development [cwebster@pegasus ~]$ Then I changed working directory to the development dir and listed actual contents. [cwebster@pegasus ~]$ aecd -p av8b94.17 -c 2 aegis: project "av8b94.17": change 2: /home/cwebster/test/aegis/av8b94.17.C002 [cwebster@pegasus av8b94.17.C002]$ ls aegis.conf aegis.log hostcomp radar So, apparently, the "develop_begin_command" is being executed before the development directory is finished being constructed. The man page says it's executed when the develop_begin command is successful. I wouldn't consider it successful until the development directory is constructed. Is it possible to change when "develop_begin_command" is executed so it happens after "merging files from all baselines into working directory according to directory style"? Thank you for your help Peter. Cal Webster