Alex
Keeping history is not possible if you need to move a directory and its content from DepotA into DepotB.
A workaround would be to setup in DepotA a seperate stream for this directory, you can exclude all the other folders so you only see this one. This way, you will retain your history.