I got the point! Thanks David!
2020. május 5., kedd 12:21:55 UTC+2 időpontban David Balažic a következőt írta: > > Revision number in SVN is basically a "commit counter". > > If the repo is at revision 88 and you add an new file, the file will have > revision number 89. (the same will be true if you commit an other kind of > change - the rev num is increased by one, the new changes "are in" the new > revisions, while the previous revision number has the previous state, > without the said committed changes) > > More correctly, the revision number belongs to the repo, not the file. The > file just happens to exist in revision 89 (and not earlier) and later > (until you delete it, then in following revisions it wont exist; you can > later add a new file with same name, it will be unrelated to the old one). > > Regards, > David > > On Tuesday, 5 May 2020 10:48:29 UTC+2, Ur Pocok wrote: >> >> Hi John, >> >> >> I hope I do, but easily possible I do not, as I am a newbie in >> TortoiseSVN (or in Subversion at all). >> >> >> Nevertheless I try to describe more thoroughly my starting point, and >> what I want to achieve >> >> >> Please note: I do not want to use SVN for it’s usual purpose, a >> programming project, but to manage testprogram’s files on multiple test >> equipment >> >> >> So my starting point: >> >> >> - Created a repository in a folder “Repository” -> it is totally >> empty, without the usual branches, etc folders >> >> - I create the folder structure for each machine like this >> >> o Repository\”machine1serialnumber”\Data\ >> >> o Repository\”machine2serialnumber”\Data\ >> >> - Inside each “Repository\”machine1serialnumber”\Data\” I added >> all the subfolders/files I want to have to be versioned >> >> - Checked out the working copies >> >> - Yet, only for test purpose and to learn I did multiple >> modification on the WCs (commit, add, delete, whatever) -> now my >> “machine1serialnumber”’s revision is at 60 for e.g.: in the repo >> >> >> My problem: >> >> >> - My repository folder “Repository\”machine1serialnumber”\Data\” >> became corrupted (imaginary case, yet…), or I simply do something stupid >> >> - I take out the Working copy of the >> “Repository\”machine1serialnumber”\Data\” under version control >> >> - Delete the ”machine1serialnumber”\Data\” folder structure >> from the repository >> >> - Recreate the same structure in the repo (I want to have the >> same again, as better identification – serial nbr -, and standardization) >> >> - The recreated folder structure’s revision number will be 61 >> instead of 1 >> >> >> What I want to achieve: >> >> >> - To delete such whole folder structure >> (”machine1serialnumber”\Data\” ) from the Repo >> >> - To be able to recreate the same structure (same folder names) >> with clean sheets >> >> >> If you say, this is not possible to achieve, please be patient and try to >> enlighten me whyJ >> >> 2020. május 4., hétfő 17:40:54 UTC+2 időpontban John Laurence Poole a >> következőt írta: >>> >>> Please read up on Subversion and what the "revision" number means. Your >>> question shows you do not fully understand the concept of version in >>> Subversion as opposed to CVS. >>> >>> On Mon, May 4, 2020 at 2:03 AM Ur Pocok via TortoiseSVN < >>> tortoisesvn+apn2wqdkakbkntkg-gizai_ak6zulmowfwwidi2rgaav35jyu...@googlegroups.com> >>> >>> wrote: >>> >>>> Hi, >>>> >>>> Is it possible to delete a file/folder from the Repository? I mean: >>>> - physically delete it (I know it is possible) >>>> - make it forget it had ever been there -> to delete all that >>>> file's/folder's repository entries/versioning etc. >>>> >>>> An example to make more clear what I want to achieve: >>>> >>>> 1. I added a folder with subs into the repository (let's name it >>>> "Bean") -> checkout/commit/update et. was working fine >>>> 2. Just for test I tried to take out the working copy from the >>>> versioning -> was done by using "delete (keep local)" or delete the .svn >>>> folder from the working copy >>>> 3. I deleted the same folder from the repository by "right click-> >>>> delete" on it inside the repo-browser -> yet it still OK >>>> 4. I create again exactly the same folder (same path of course) in the >>>> repository and I wondered that it remembered the revision history -> so it >>>> was re-created incrementing the "before delete" revision number instead of >>>> being revision one! >>>> >>>> Thank you, >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "TortoiseSVN" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to torto...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/tortoisesvn/54a99ac6-8209-4ae8-aa48-96442db73aba%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/tortoisesvn/54a99ac6-8209-4ae8-aa48-96442db73aba%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> >>> >>> -- >>> John L. Poole >>> >>> 707-812-1323 >>> jlpo...@gmail.com >>> >> -- You received this message because you are subscribed to the Google Groups "TortoiseSVN" group. To unsubscribe from this group and stop receiving emails from it, send an email to tortoisesvn+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/03ca33c8-a843-4f3e-a727-cde81881cef5%40googlegroups.com.