Launchpad svn/git imports failure causes

Alexander Belchenko bialix at ukr.net
Sat Sep 11 07:46:17 BST 2010


Alexander Belchenko пишет:
> Alexander Belchenko пишет:
>> Alexander Belchenko пишет:
>>> So, I've just tried to execute
>>>
>>> bzr get lp:sikuli
>>>
>>> Bazaar downloaded more than 130MB (one hundred and thirty MB)of data
>>> from Internet and then just refused to create a working tree. No
>>> wonder there is unhappy users.
>>>
>>> I've looked at help for view command. It lacks the --exclude option,
>>> IMO. How can one define the view which cover entire tree without
>>> couple of files? That's just crazy. And from the description of views
>>> it does not seem it will help us because views applied to
>>> status/diff/commit commands, but you need to create a working tree
>>> first, and this operation is failed.
>> OK, I've tried to create a list of files/dirs to view with `bzr ls`,
>> but then revert is failed:
>>
>> C:\Temp\sikuli>bzr view .bzrignore art-work/ build-linux.txt
>> build-mac.txt build-win32.txt design/ lib/ sikuli-ide/
>> sikuli-script/ sikuli-script/Makefile sikuli-script/Makefile.common
>> sikuli-script/Makefile.win32 sikuli-script/doc/
>> sikuli-script/src/ sikuli-script/target/ sikuli-script/test-res/
>> test-images/ utils/
> 
> This command was slightly wrong, I shouldn't specify sikuli-script/
> top-level folder. Without this folder `bzr revert` working fine.
> 
> So... next step is to teach treetransform to automatically create the
> view without symlinks on initial checkout.

But I can't see or commit added files:

C:\Temp\sikuli>bzr mkdir foo
added foo

C:\Temp\sikuli>bzr st
Ignoring files outside view. View is .bzrignore, art-work,
build-linux.txt, build-mac.txt, build-win32.txt, design,
lib, sikuli-ide, sikuli-script/Makefile,
sikuli-script/Makefile.common, sikuli-script/Makefile.win32,
sikuli-script/
doc, sikuli-script/src, sikuli-script/target, sikuli-script/test-res,
test-images, utils

C:\Temp\sikuli>bzr ci -m "foo"
Ignoring files outside view. View is .bzrignore, art-work,
build-linux.txt, build-mac.txt, build-win32.txt, design,
lib, sikuli-ide, sikuli-script/Makefile,
sikuli-script/Makefile.common, sikuli-script/Makefile.win32,
sikuli-script/
doc, sikuli-script/src, sikuli-script/target, sikuli-script/test-res,
test-images, utils
bzr: warning: The commit message is a file name: "foo".
(use --file "foo" to take commit message from that file)
Committing to: C:/Temp/sikuli/
aborting commit write group: PointlessCommit(No changes to commit)
bzr: ERROR: No changes to commit. Use --unchanged to commit anyhow.


So, view should have 2 forms: inclusive and exclusive. For symlinks
and other problematic files on windows bzr needs exclusive view.




More information about the bazaar mailing list