bzr unable create lightweight checkout in the root of shared repo

Bug #174414 reported by Alexander Belchenko
2
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Low
Unassigned

Bug Description

For some reason I'd like to put some supporting scripts in the root of my shared repo. And I want to keep these scripts under version control. Unfortunately, I can't create lightweight checkout in the shared repository root. bzr gives me FileExists error:

bzr arguments: [u'co', u'--lightweight', u'tools', u'.']
looking for plugins in C:\work\Bazaar\plugins-repo
looking for plugins in C:\Program Files\Bazaar\lib\library.zip\bzrlib\plugins
Looking for plugins in 'C:\\Program Files\\Bazaar\\lib\\library.zip\\bzrlib\\plugins'
Names in archive: ['__init__.pyc', 'launchpad/__init__.pyc', 'launchpad/account.pyc', 'launchpad/lp_indirect.pyc', 'launchpad/lp
_registration.pyc', 'launchpad/test_account.pyc', 'launchpad/test_lp_indirect.pyc', 'launchpad/test_register.pyc', 'multiparent.
pyc']
Load plugin launchpad from zip 'C:\\Program Files\\Bazaar\\lib\\library.zip\\bzrlib\\plugins'
Load plugin multiparent from zip 'C:\\Program Files\\Bazaar\\lib\\library.zip\\bzrlib\\plugins'
encoding stdout as sys.stdout encoding 'cp1251'
Traceback (most recent call last):
  File "bzrlib\commands.pyc", line 802, in run_bzr_catch_errors
  File "bzrlib\commands.pyc", line 758, in run_bzr
  File "bzrlib\commands.pyc", line 492, in run_argv_aliases
  File "bzrlib\builtins.pyc", line 969, in run
  File "bzrlib\branch.pyc", line 773, in create_checkout
  File "bzrlib\bzrdir.pyc", line 1371, in initialize_on_transport
  File "bzrlib\transport\local.pyc", line 304, in mkdir
  File "bzrlib\transport\local.pyc", line 300, in _mkdir
  File "bzrlib\transport\__init__.pyc", line 351, in _translate_error
FileExists: File exists: u'C:/work/MyCode/BJT.new/_repo.1/.bzr': [Error 183] Невозможно создать файл,: u'C:/work/MyCode/BJT.new/_repo.1/.bzr'

Revision history for this message
Martin Pool (mbp) wrote :

Confirmed:

mbp@grace% mkdir 174414
mbp@grace% bzr init-repo 174414
Shared repository with trees (format: pack-0.92)
Location:
  shared repository: 174414
mbp@grace% bzr init 174414/tools
Repository tree (format: pack-0.92)
Location:
  shared repository: 174414
  repository branch: 174414/tools
mbp@grace% cd 174414
mbp@grace% bzr co --lightweight tools .
bzr: ERROR: File exists: u'/home/mbp/tmp/174414/.bzr': [Errno 17] File exists: '/home/mbp/tmp/174414/.bzr'
zsh: exit 3 bzr co --lightweight tools .

Changed in bzr:
importance: Undecided → Low
status: New → Confirmed
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.