##// END OF EJS Templates
convert/bzr: convert all branches (issue3229) (BC)...
convert/bzr: convert all branches (issue3229) (BC) Instead of opening the target bzr checkout as a single branch, we try to open it as a repository. This has the following effects: - All branches are now converted - bzr branch names are preserved. Previously, the selected branch was always converted as 'default'. Branches without a name or 'trunk' are mapped to 'default branch. - Lightweight checkouts are no longer supported. Maybe they can be, I did not try to fix that at all. Implementation notes: - This was a quick fix, I have no knowledge of bzr API besides browsing 2.0.3 sources. - The fix was only tested on OSX against bzr 2.4.2. - Tags discovery does not handle collisions. I have no idea how tags work in bzr so maybe such collisions are not possible.

File last commit:

r16060:f84dda15 default
r16060:f84dda15 default
Show More
bzr-definitions
19 lines | 397 B | text/plain | TextLexer
Marek Kubica
convert: add bzr source
r7053 # this file holds the definitions that are used in various bzr tests
"$TESTDIR/hghave" bzr || exit 80
Brodie Rao
tests: remove more instances of export FOO=bar bashism
r9042 TERM=dumb; export TERM
Marek Kubica
convert: add bzr source
r7053 echo '[extensions]' >> $HGRCPATH
echo 'convert = ' >> $HGRCPATH
echo 'hgext.graphlog = ' >> $HGRCPATH
glog()
{
Patrick Mezard
convert/bzr: convert all branches (issue3229) (BC)...
r16060 hg glog --template '{rev}@{branch} "{desc|firstline}" files: {files}\n' "$@"
Marek Kubica
convert: add bzr source
r7053 }
manifest()
{
echo "% manifest of $2"
hg -R $1 manifest -v -r $2
}