Comments (5)
(previously submitted by me as different user) This is not an issue with my version of Vault2Git. Mine is a branch directly from Andrey's so if thats what you have I'm surprised its occurring. I have made changes to deletions, renames and moves to speed up the conversion on large repositories, but it was working before those changes too.
from vault2git.
For any who come across this, we could not find the source of the problem, but we came up with a pretty easy solution. If you set your new Git repo as your Vault working folder, then delete all the contents of the Git repo (except of course the .git folder), you can then tell Vault to repopulate the folder with Get Latest. This will add back in all of the files you want, and none that have been previously deleted from Vault. Git doesn't track time stamps, so it should just recognize the deletions, which you can bundle up in one commit. This should work as long as your Git and Vault haven't diverged (i.e. do it immediately after the transfer).
from vault2git.
So I too ran into this problem, and I was using robe070's version of vault2git. That said, I was able to solve it by making sure that the "Convertor.WorkingFolder" setting ends with a trailing slash.
Whenever it did not end with a trailing slash, the string replacement line ItemPath1.Replace(vaultRepoPath, WorkingFolder, StringComparison.CurrentCultureIgnoreCase) would end up missing a slash between the working folder and the first folder in the Vault repository. Thus the file could not be found, and it wasn't deleted.
from vault2git.
@brianacraig Can you submit a pull request for this?
from vault2git.
...to robe070 of course
from vault2git.
Related Issues (15)
- How do you configure the path? HOT 3
- Working Folder is not set back to its previous value. Workaround - run Vault Client to set it correctly. HOT 1
- Improve speed of Vault pull HOT 1
- No working folder set error HOT 7
- How does vault2git handle shared files? HOT 2
- Unable to run exe file HOT 5
- Format of Converter.Paths Configuration
- Intermittent Exception in vaultGet() HOT 2
- Doesn't work with Commits after Jan 1, 2020 HOT 4
- Is SSL supported? HOT 3
- Fortress HOT 1
- Vault2Git crashes if Vault path changed in earlier revisions HOT 5
- Does this work with Vault v5? HOT 5
- Error when switching to branch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vault2git.