[Bug 1014571] [NEW] bzr push fails with "uncommitted changes" error, but bzr status shows nothing

Jelmer Vernooij 1014571 at bugs.launchpad.net
Mon Jun 18 10:11:32 UTC 2012


Public bug reported:

Imported from Debian bug http://bugs.debian.org/672977:

Package: bzr
Version: 2.1.2-1
Severity: normal

I just had a problem with bzr 2.1.2 where a push failed with this error:

bzr: ERROR: Working tree "/home/ajapted/aww/" has uncommitted changes
(See bzr status). Use --no-strict to force the push.

However using bzr status showed no uncommitted changes at all.
I checked that .bzrignore was not masking any files.

I don't know how to reproduce the problem, the only thing that I did differently recently
was to use "bzr shelve" on a file.  I tried unshelving that file and reverting the changes but
the error still occurred.

A workaround was to use "bzr commit --unchanged ." which committed an apparently
empty commit, but it obviously did something as since the push worked after that.

Cheers,
--
Andrew Apted


-- System Information:
Debian Release: squeeze/sid
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bzr depends on:
ii  libc6                  2.11.2-7          Embedded GNU C Library: Shared lib
ii  python                 2.6.6-3+squeeze4  interactive high-level object-orie
ii  python-central         0.6.16+nmu1       register and build utility for Pyt
ii  python-configobj       4.7.2+ds-1        simple but powerful config file re
ii  python-elementtree     1.2.6-14          Light-weight toolkit for XML proce
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages bzr recommends:
pn  bzrtools                      <none>     (no description available)
ii  ca-certificates               20090814   Common CA certificates
ii  python-paramiko               1.7.4-0.1  Make ssh v2 connections with pytho

Versions of packages bzr suggests:
pn  bzr-doc                       <none>     (no description available)
pn  bzr-gtk                       <none>     (no description available)
pn  bzr-svn                       <none>     (no description available)
pn  python-kerberos               <none>     (no description available)
pn  python-pycurl                 <none>     (no description available)
ii  xdg-utils                     1.0.2-6.1  desktop integration utilities from

-- no debconf information

** Affects: bzr
     Importance: Medium
         Status: Triaged

** Affects: bzr (Ubuntu)
     Importance: Medium
         Status: Triaged

** Affects: bzr (Debian)
     Importance: Undecided
         Status: New

** Bug watch added: Debian Bug tracker #672977
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672977

** Changed in: bzr (Debian)
 Remote watch: None => Debian Bug tracker #672977

** Also affects: bzr
   Importance: Undecided
       Status: New

** Changed in: bzr (Ubuntu)
       Status: New => Triaged

** Changed in: bzr (Ubuntu)
   Importance: Undecided => Medium

** Changed in: bzr
       Status: New => Triaged

** Changed in: bzr
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/1014571

Title:
  bzr push fails with "uncommitted changes" error, but bzr status shows
  nothing

Status in Bazaar Version Control System:
  Triaged
Status in “bzr” package in Ubuntu:
  Triaged
Status in “bzr” package in Debian:
  New

Bug description:
  Imported from Debian bug http://bugs.debian.org/672977:

  Package: bzr
  Version: 2.1.2-1
  Severity: normal

  I just had a problem with bzr 2.1.2 where a push failed with this
  error:

  bzr: ERROR: Working tree "/home/ajapted/aww/" has uncommitted changes
  (See bzr status). Use --no-strict to force the push.

  However using bzr status showed no uncommitted changes at all.
  I checked that .bzrignore was not masking any files.

  I don't know how to reproduce the problem, the only thing that I did differently recently
  was to use "bzr shelve" on a file.  I tried unshelving that file and reverting the changes but
  the error still occurred.

  A workaround was to use "bzr commit --unchanged ." which committed an apparently
  empty commit, but it obviously did something as since the push worked after that.

  Cheers,
  --
  Andrew Apted

  
  -- System Information:
  Debian Release: squeeze/sid
    APT prefers stable
    APT policy: (500, 'stable')
  Architecture: i386 (i686)

  Kernel: Linux 2.6.30-2-686 (SMP w/1 CPU core)
  Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
  Shell: /bin/sh linked to /bin/bash

  Versions of packages bzr depends on:
  ii  libc6                  2.11.2-7          Embedded GNU C Library: Shared lib
  ii  python                 2.6.6-3+squeeze4  interactive high-level object-orie
  ii  python-central         0.6.16+nmu1       register and build utility for Pyt
  ii  python-configobj       4.7.2+ds-1        simple but powerful config file re
  ii  python-elementtree     1.2.6-14          Light-weight toolkit for XML proce
  ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

  Versions of packages bzr recommends:
  pn  bzrtools                      <none>     (no description available)
  ii  ca-certificates               20090814   Common CA certificates
  ii  python-paramiko               1.7.4-0.1  Make ssh v2 connections with pytho

  Versions of packages bzr suggests:
  pn  bzr-doc                       <none>     (no description available)
  pn  bzr-gtk                       <none>     (no description available)
  pn  bzr-svn                       <none>     (no description available)
  pn  python-kerberos               <none>     (no description available)
  pn  python-pycurl                 <none>     (no description available)
  ii  xdg-utils                     1.0.2-6.1  desktop integration utilities from

  -- no debconf information

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/1014571/+subscriptions




More information about the foundations-bugs mailing list