Jump to content

How to pull a particular revision of a particular file from a different changeset into my workspace


GreenAsJade

Recommended Posts

Title perhaps says it all: I have a file in another changeset that I need to pull into my branch.   How can I best do that?

(At the moment, the best I've been able to come up with is to browse the respository from the source changeset, right click->History on the target file, do "save revision as", then manually select the destination folder in the workspace (it is the same folder that the file is in, in the source workspace) and manually "fix up" the name of the file in the save as dialog, then save.   A bit cumbersome...)

 

Thanks!
 

Link to comment
Share on other sites

Hi super green guy!

 

I think in your case reverting to that certain revision is the easiest way.

 

Ctrl + H for the file you want to change (or right click and choose "history") then filter the branch you know the revision is and right click it, finally choose "Revert to this revision" to get that revision in your workspace.

 

Hope it helps!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...