Push should create a README file in destination folder
Bug #45677 reported by
John Dong
This bug report is a duplicate of:
Bug #44663: When push can't create a working tree, some basic info should be made available.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
When bzr pushes a branch to a location, it just updates the .bzr/ folder, which is perfectly acceptable behavior by all means.
However, I find that when I tell people that "my bzr branch for foo is at http://
I then have to explain how there's a .bzr, and use "bzr branch" to get the actual folder.
It'd be nice if push could create a simple README or (README.bzr) file that explains all of this (i.e. this is a bzr branch, a web browser cannot understand it. Use bzr branch URL to retrieve it; go to bazaar-vcs.org for more into)
To post a comment you must log in.
I agree that it's a bit confusing. I wrote a plugin to generate a nice HTML page, which I stick in the root of my branches.
http:// michael. ellerman. id.au/files/ bzr/htmllog/
I haven't bothered, but I think you could call the plugin as a post-commit hook so as to always have it updated.
Making it part of the default push behaviour seems a little tricky, simply because you might have an index.html/README already in your tree. But we can probably work out something sane.