externals-add does not work with colocated branches
Bug #932473 reported by
Yaroslav Sokolov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Externals plugin |
Fix Committed
|
Undecided
|
Alexander Belchenko |
Bug Description
after trying to execute
bzr externals-add
in a colocated branch the following error appears:
bzr: ERROR: No such file: u'<project root>/.bzrignore'
Appears in bzr 2.4.2 for Windows. Tested Externals versions: 1.3.3, 1.3.2
PS: manually creating empty .bzrignore does not fix the problem - the same problem with .bzrmeta/externals and .bzrmeta/
PPS: manually creating all the missing files: .bzrignore, .bzrmeta/externals, .bzrmeta/
Best regards
Yaroslav Sokolov
Related branches
lp://staging/~bialix/bzr-externals/bug-932473
- Eugene Tarasenko: Pending requested
-
Diff: 23 lines (+4/-2)1 file modifiedcommands.py (+4/-2)
Changed in bzr-externals: | |
assignee: | nobody → Alexander Belchenko (bialix) |
To post a comment you must log in.
Yaroslav Sokolov пишет: externals- snapshot externals- snapshot makes no sense - these
> Public bug reported:
>
> after trying to execute
> bzr externals-add
> in a colocated branch the following error appears:
> bzr: ERROR: No such file: u'<project root>/.bzrignore'
>
> Appears in bzr 2.4.2 for Windows. Tested Externals versions: 1.3.3,
> 1.3.2
>
> PS: manually creating empty .bzrignore does not fix the problem - the
> same problem with .bzrmeta/externals and .bzrmeta/
>
> PPS: manually creating all the missing files: .bzrignore,
> .bzrmeta/externals, .bzrmeta/
> files are not updated by the plugin.
Actually those files ARE updated by the plugin, because externals-add
wants to record what it adds, and ignore.
I think manually creating all those files should be a possible
workaround, but the bug is still there: externals-add should cope with
the absence of the required files and create them when needed.
Also, looking at your reproduction steps it's not clear for me why do
you think that colocated branch is special there. As I can see you
just have the branch without above mentioned service files, and you
should get the same error with your trunk in your example.
Also, please, attach to the bug report part of your .bzr.log
corresponding to this error.