<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Harald Meland wrote:
<blockquote cite="mid:d6dwru8bf62.fsf@login1.uio.no" type="cite">
  <pre wrap="">[David Muir]

  </pre>
  <blockquote type="cite">
    <pre wrap="">Is there a way to apply moves to files that were moved, say 20 revs ago?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Not quite sure how to interpret that, is the following anywhere near
what you want?

Branch just before/after (depending on what you want) the old moves:

  bzr branch -r -20 my_branch fix_moves

Fix the moves:

  cd fix_moves
  bzr mv wrong_name right_name
  bzr commit -m "fixed move"

Merge the fix:

  cd ../my_branch
  bzr merge ../fix_moves
  # You might need to resolve conflicts here.
  bzr commit -m "merge move fixes"

  </pre>
</blockquote>
That sort of fixes it, but not quite what I'm after. I'd like to
replace that earlier commit altogether.<br>
The problem is that files were moved using the filesystem, but the move
was never registered with bzr. So I'm wanting to go back and apply the
move. Is this where rebase or fast-import or something like that would
come in handy?<br>
<br>
David<br>
<br>
<br>
<br>
</body>
</html>