10-06-2009
846,
29
Join Date: Jan 2007
Last Activity: 2 December 2019, 5:59 PM EST
Posts: 846
Thanks Given: 94
Thanked 29 Times in 25 Posts
Mercurial question: updating files
I have two files: file01.txt and file02.txt. File02.txt is the upgraded version of file01.txt and I want to add both files to a mercurial repository, but such that file02.txt is seen as the extended version of file01.txt. So in essence both the file name and the file contents have changed.
I could do it the manual way, by adding file01.txt, copying it, add the contents of file02.txt to file01.txt, pull, merge and commit, but that becomes tiresome for the amount of files I have. Any quicker way?