git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrey Borzenkov <arvidjaar@mail.ru>
To: catalin.marinas@gmail.com
Cc: git@vger.kernel.org
Subject: StGIT-0.11: Python exception when removing branch
Date: Mon, 1 Jan 2007 15:49:11 +0300	[thread overview]
Message-ID: <200701011549.16942.arvidjaar@mail.ru> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Every time I try to remove a branch I get:

{pts/0}% stg branch --delete stable
Deleting branch "stable"...
Traceback (most recent call last):
  File "/usr/bin/stg", line 43, in <module>
    main()
  File "/usr/lib/python2.5/site-packages/stgit/main.py", line 261, in main
    command.func(parser, options, args)
  File "/usr/lib/python2.5/site-packages/stgit/commands/branch.py", line 167, 
in func
    __delete_branch(args[0], options.force)
  File "/usr/lib/python2.5/site-packages/stgit/commands/branch.py", line 107, 
in __delete_branch
    doomed.delete(force)
  File "/usr/lib/python2.5/site-packages/stgit/stack.py", line 583, in delete
    if not os.listdir(self.__series_dir):
OSError: [Errno 2] No such file or directory: '.git/patches/stable'

Well, it is correct, stable has never had any patches, but why stg is so upset 
about it? :)

The state after this command is

{pts/2}% stg branch -l
Available branches:
> s     cooker  |
  s     origin  |
        stable  |

It did not happen before; I am not sure whether it was introdied by StGIT or 
Pythn update.

Regards and happy new year

- -andrey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFmQNMR6LMutpd94wRAuWCAKDQmc5xTW/0okN+MMx5Y8GUBSiqQgCggpUY
fWPjyHx/usyneWVaRl61lZM=
=vnEW
-----END PGP SIGNATURE-----

                 reply	other threads:[~2007-01-01 12:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200701011549.16942.arvidjaar@mail.ru \
    --to=arvidjaar@mail.ru \
    --cc=catalin.marinas@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).