threads / discuss / 14030

stg export fails

Subject: stg export fails

## tl;dr

2 messages between Jun 19, 2008 and Jun 19, 2008.

replies: 1people: 2as markdown or json

Aneesh Kumar· Jun 19, 2008, 03:30 UTC · lore
[2.6.26-rc6.1-work@linux-review-ext]$ stg export -d /tmp/final/
001-ext4-bmap.patch
Checking for changes in the working directory ... done
Error: Unhandled exception:
Traceback (most recent call last):
  File "/home/kvaneesh/bin-local/stgit//lib/python2.5/site-packages/stgit/main.py",
line 278, in main
    ret = command.func(parser, options, args)
  File "/home/kvaneesh/bin-local/stgit//lib/python2.5/site-packages/stgit/commands/export.py",
line 94, in func
    patches = parse_patches(args, applied + unapplied, len(applied))
NameError: global name 'parse_patches' is not defined
[2.6.26-rc6.1-work@linux-review-ext]$
Catalin Marinas· Jun 19, 2008, 08:18 UTC · re: Aneesh Kumar · lore

Re: stg export fails

2008/6/19 Aneesh Kumar <aneesh.kumar@gmail.com>:
Show 13 quoted lines
> [2.6.26-rc6.1-work@linux-review-ext]$ stg export -d /tmp/final/
> 001-ext4-bmap.patch
> Checking for changes in the working directory ... done
> Error: Unhandled exception:
> Traceback (most recent call last):
>  File "/home/kvaneesh/bin-local/stgit//lib/python2.5/site-packages/stgit/main.py",
> line 278, in main
>    ret = command.func(parser, options, args)
>  File "/home/kvaneesh/bin-local/stgit//lib/python2.5/site-packages/stgit/commands/export.py",
> line 94, in func
>    patches = parse_patches(args, applied + unapplied, len(applied))
> NameError: global name 'parse_patches' is not defined
> [2.6.26-rc6.1-work@linux-review-ext]$

Thanks. The latest HEAD broke the export function (there was another report). I'll push the fix tonight (and add a test case).

-- 
Catalin

← back to recent threads