subversion merge trunk -> branch: trunk changes not recognized - tortoisesvn

I'm in a pickle. I'm using SVN 1.5 at Beanstalk and Tortoise SVN client 1.6.11 x64 on Windows 7.
I'm developing on a branch and have been merging changes from the Trunk into my branch at least once a week. I recently noticed some things weren't working as trunk changes didn't make it into my branch. When I try to do a merge, Tortoise acts as though there are no changes in the trunk to merge. The Test Merge shows no files being added or updated.
I tried to merge my branch back to the trunk, but got a message saying that my branch wasn't up to date and told me to merge a range of revisions from the trunk.
I really don't want to do this by hand. How can I tell Tortoise and/or SVN that my branch is not up to date?

I still don't know what caused this to happen, but I did manage a work around. I instead did a backwards "reintegrate a branch into the trunk". This seemed to work good enough, but not perfect.

Related

Why do my new branches in Android Studio automatically merge to the previous branches?

I am using the Android Studio functionality to manage my branches/commits etc.
I have the master branch which is reserved for final versions, then I have my development branch and then I open new branches for any features I want to work on.
I've just noticed that my changes in my new branches are automatically merged into my previous branch.
For example, if I'm on the development branch then create a new branch "Image gallery" and add something, when I go back to the development branch, that thing I've added is already there!
This beats the whole purpose of using branches, what is going on? Did I click anything I shouldn't have clicked?
If we are not commit the changes which we are done in the feature branch(image branch), it will added to the development branch when we change the branch local. First we need to commit the changes which is done feature branch(image branch). Then we need to change the branch to the development.

Perforce: Integrate into earlier revision of target branch

usually perforce integration is to merge code from some revision of source branch to LATEST revision of target branch.
Is there a way to merge code to a specific earlier revision of target branch?
Of course, it's still needed to sync to latest revision for submitting the code.
I think you can sync to the revision you want to integrate to, then run an integrate -h (have revision). Should be one of the checkboxes in the integrate dialog. Or just do it from commandline.
Then once you've done the integrate and resolve, you'll likely have a sync to head and another resolve to go through, but that ought to get you were you want to go.

Merge developement branch with other branch in tortoise SVN

I am using tortoise SVN and I am working on a separate branch other than development branch. My work on that branch might last more than 2 weeks or so till than if development branch is updated my code will be outdated.
I need to keep on updating my working branch from main development branch, I use merge with all revisions but it replaces my branch files with development files instead of showing me the conflicts and this means that my changes are lost which I made while working on my new branch.
I want tortoise SVN to show me conflicts with line numbers or at-least show me mine and theirs so I can resolve conflicts and keep my working branch up to date. Thanks in advance.
I am using tortoise for windows, tortoise SVN gui tool for windows 7. TortoiseSVN 1.8.2 I am right clicking on folder to merge and select repository url and select all revisions radio button for revisions.

git: can I checkout a hotfix branch in a dev environment(with an unmerged dev branch) or will that cross branches?

I'm new to having git set up for multiple users. I typically used it by myself with only one branch. I have a questions that I couldn't find safe answer to via Google:
If I'm currently pulling a feature development branch into my dev server to test the feature and I suddenly discover the need for a hotfix can I re-branch(checkout) the hotfix branch (part of master not dev), pull the files in and start working on/testing a hotfix or will my next "git add ." add the files from the feature branch(which are still on the server) to the hotfix branch therefore mixing the two branches?
If I understand your question, I think your asking if, having changes on the development branch, and then switch to a hot fix branch, will the changes get intermixed with the new branch?
Typically, what I would do is use "git stash save" of any changes on the development branch, checkout the hot fix branch and dothe changes and commit, switch back to the development branch, and then "git stash pop..." To get the development changes back.
You can do "git status" after each step to ensure the working area has what you expect.

Trunk to Branch Reintegration or Update using TortoiseSVN

We crated two branches from the trunk (using TortoiseSVN) ... branch USER and branch PRODUCT
In branch PRODUCT we are working on some new features. (day 1)
In branch USER we correct bug/error as reported by customer. (day 2)
Within a few days, we fixed branch USER and merged back into trunk (day 4)
tested and merged to trunk and made live
Within a few weeks, we finished PRODUCT features and merged back into trunk. (day 10)
We received several conflicted files.
After several hours of trying to fix the errors, I completely messed up the trunk.
We had to re-do coding and kill SVN and re-create the repository.
Very frustrationing .. and we lost a lot of time.
Is there instructions on 're-reintegration' or 'updating' a BRANCH from TRUNK?
Honestly, I dont even know the write questions to ask, as I dont know what process
we needed to perform!
After some playing around and getting some reading/asking questions, there is the process I used:
Start development in your Trunk.
You have reached a stage where you want to branch out and start a different development over the branch. You always branch out from the Trunk.
Lets consider an example, we create two branches Users and Products, both from the Trunk.
Simultaneous development happen on both the branches Users and Products.
Now there comes a stage when development on the branch Users is done. So you re-integrate the branch Users back to Trunk. Testing happens on Trunk and for deployment you use the code in the Trunk.
At this stage Users branch is re-integrated with the Trunk, but still Products branch is as it is.
Users code has been re-integrated with the Trunk and deployed successfully. So now the Trunk has the Users code also. So this code should be merged with the Products branch.
Now the Products branch has the Users code plus the changes that were worked upon in the Products branch itself.
Once the development in the Products branch is done, it can be re-integrated with the Trunk.
Now the Trunk has the code from Products branch and the Trunk is up to date and ready to be deployed to the live server.
I hope this helps others.

Resources