02
Sep
11

remove old/closed branches from mercurial



If for example you want to remove no longer used branches, the convert extension can help. You need to provide it with a branchmap, like this:


hg convert --branchmap=some_file.txt old_repo new_repo

And the contents of the some_file.txt should be like this:


no_longer_used_branch default

Advertisements

0 Responses to “remove old/closed branches from mercurial”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Blog Stats

  • 229,299 hits

%d bloggers like this: