tag 293088 - moreinfo
thanks

On Wed, Apr 20, 2005 at 12:03:02AM -0500, John Goerzen wrote:
> Can you try running darcs_load_dirs with -v in this scenario?  I'm
> having trouble finding out how this could have happened, and the verbose
> output would be helpful.
Here's a transcript of the same failure with the verbose flag:

$ darcs_load_dirs -s 'Import AutoGen 5.6.6pre5.' -v ../autogen-5.6.6pre5
 TLACMD:  darcs
Running:  darcs ['check']
Scanning upstream tree...
Scanning working copy tree...
Calculating changes...
Num Source Files                        Num Destination Files
--- ----------------------------------- --- -----------------------------------
  0 autoopts/options.h                    0 autoopts/autoopts/
  1 autoopts/streqv.h                     1 autoopts/autoopts/options.h
  2 autoopts/tokenize.h                   2 autoopts/autoopts/usage-txt.h
  3 autoopts/usage-txt.h                  3 autoopts/configFileLoad.3
  4 compat/libgen.h                       4 autoopts/configfile.c
  5 compat/strcspn.c                      5 autoopts/proto.h
  6                                       6 autoopts/strequate.3
  7                                       7 autoopts/streqvcmp.3
  8                                       8 autoopts/streqvmap.3
  9                                       9 autoopts/string_tokenize.3
  a                                       a autoopts/strneqvcmp.3
  b                                       b autoopts/strtransform.3
Syntax: src dest [,src dest [,...]] to move, q to accept, r to redraw:
Command: 0 1, 3 2
autoopts/options.h -> autoopts/autoopts/options.h
Moving file autoopts/options.h to autoopts/autoopts/options.h
Created directory /tmp/upstream/autoopts/autoopts
Adding /tmp/upstream/autoopts/autoopts
Running:  darcs ['add', '/tmp/upstream/autoopts/autoopts']
Skipping '/tmp/upstream/autoopts/autoopts' ... parent directory 
'/tmp/upstream/autoopts/' isn't in the repo.
Moving autoopts/options.h to autoopts/autoopts/options.h
Running:  darcs ['mv', 'autoopts/options.h', 'autoopts/autoopts/options.h']

darcs failed:  The target directory autoopts/autoopts doesn't exist in working 
directory.
Traceback (most recent call last):
  File "/usr/bin/darcs_load_dirs", line 26, in ?
    init.run(darcsdefault=True)
  File "/usr/lib/python2.3/site-packages/tla_support/init.py", line 50, in run
    summary = options.summary).main()
  File "/usr/lib/python2.3/site-packages/tla_support/tla_interact.py", line 
102, in main
    if not readloop():
  File "/usr/lib/python2.3/site-packages/tla_support/tla_interact.py", line 72, 
in readloop
    self.mv(self.deletedfiles[src], self.addedfiles[dest])
  File "/usr/lib/python2.3/site-packages/tla_support/tla_interact.py", line 
161, in mv
    self.wcobj.movetag(src, dest)
  File "/usr/lib/python2.3/site-packages/tla_support/tla_wc.py", line 81, in 
movetag
    [cmd().move, src, dest])
  File "/usr/lib/python2.3/site-packages/tla_support/util.py", line 111, in 
chdircmd
    return apply(func, args, kwargs)
  File "/usr/lib/python2.3/site-packages/tla_support/util.py", line 67, in 
safeexec
    return checkresult(result, expected)
  File "/usr/lib/python2.3/site-packages/tla_support/util.py", line 95, in 
checkresult
    raise ExecProblem, info + " (expected exit code %d)" % expected
tla_support.util.ExecProblem: exited with code 2 (expected exit code 0)

-- 
Matt

Attachment: signature.asc
Description: Digital signature

Reply via email to