difficult to migrate from svn

Bug #534603 reported by blackworm
This bug report is a duplicate of:  Bug #30159: paths are always from root of branch. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Migration Docs
New
Undecided
Unassigned

Bug Description

Perhaps more of a feature request than a bug report. Regarding bzr status, the migration doc (http://doc.bazaar.canonical.com/migration/en/survival/bzr-for-svn-users.html) says:

"Note that Bazaar gives pathnames relative to the top of the working tree while Subversion gives pathnames relative to the current directory."

That limited behaviour breaks all our scripts that need to build a list of files for further processing and is making migration from svn very difficult. This behaviour seems a bizarre choice given that all other VC systems give a relative path.

Thank you.

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

Hi, this is really bug 30159. Thanks for the feedback.

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

Is there anything we can specifically do _in the docs_ about this, or do you just want it changed in bzr?

Revision history for this message
blackworm (w-launchpaddotnet-uglymofo-com) wrote :

The docs seem fine, as they describe the behaviour correctly. I'd like to see it changed in bzr, perhaps through the addition of a command line switch. I did manage to hack our scripts to (a) run the status command, (b) pushd to the source root, and (c) perform operations using the root-relative paths, so this is mostly resolved for me now. The only remaining issue is that it's now a bit of a pain to do something "custom" on-the-fly, like for example:

% rm `bzr status . -S | grep -e '^?' | awk '{print $2}'`

...to remove all non-versioned files in a directory. The above will fail, again because the paths reported are relative to some other dir.

Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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