开发者

How do I commit two changes to the same file separately in Tortoise SVN?

Consider a situation: I've made multiple changes to 开发者_开发百科one versioned file and want to commit the changes. Now I realise that they'd better be committed as two separate commits - so that some changes belong to one changeset and others - to another. How can I do that most efficiently?


Copy the file, use svn diff to undo the changes for the second changeset, commit the modified file with the first changeset, copy the file back, commit second changeset.


It depends on whether TortoiseSvn supports Hunk selection. TortoiseHg (for mercurial) does, so I assume Tortoisesvn does so too.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜