2009-09-30 09:54:15 |
Robert Collins |
description |
bzr 1.10
C:\Temp\switch>bzr init !abc
Standalone tree (format: pack-0.92)
Location:
branch root: !abc
C:\Temp\switch>bzr mkdir !abc/foo
added !abc/foo
C:\Temp\switch>bzr ci !abc -m1
Committing to: C:/Temp/switch/!abc/
added foo
Committed revision 1.
C:\Temp>bzr co --light switch/!abc wt
C:\Temp>bzr info wt
Lightweight checkout (format: 1.6 or 1.6.1-rich-root or 1.9 or 1.9-rich-root or dirstate or dirstate-tags or pack-0.
92 or rich-root or rich-root-pack)
Location:
light checkout root: wt
checkout of branch: switch/!abc
C:\Temp\switch>ren "!abc" .abc
C:\Temp\wt>bzr switch C:\Temp\switch\.abc\ --force
bzr: ERROR: Not a branch: "C:/Temp/switch/!abc/".
I found relevant bug: Bug #285055
I'd suggest to mark this bug with high priority because it prevents of forcing switch in my situation at all. |
C:\Temp\1>bzr init master
Created a standalone tree (format: pack-0.92)
C:\Temp\1>bzr ci -m1 master --unchanged
Committing to: C:/Temp/1/master/
Committed revision 1.
C:\Temp\1>bzr get master copy
Branched 1 revision(s).
C:\Temp\1>start bzr server --allow-writes --dir=.
# server started, check the available branches
C:\Temp\1>bzr branches bzr://localhost/
copy
master
C:\Temp\1>bzr co --light bzr://localhost/master checkout
# halt bzr server
C:\Temp\1>bzr branches bzr://localhost/
bzr: ERROR: Connection error: failed to connect to localhost:4155:
Connection refused
C:\Temp\1\checkout>bzr switch ../copy --force
bzr: ERROR: Connection error: failed to connect to localhost:4155:
Connection refused
C:\Temp\1\checkout>bzr switch C:\Temp\1\copy\ --force
bzr: ERROR: Connection error: failed to connect to localhost:4155:
Connection refused
|
|