Source Control and Replace All Not Working
-
- Propeller Head
- Posts: 16
- Joined: Mon Feb 07, 2011 10:22 am
- Location: Milwaukee, Wisconsin, USA
- Contact:
Source Control and Replace All Not Working
After using Analyzer to find some errors, and then doing a search replace in the whole project, the fixes appeared to work, but after a search for changed files, only the opened ones registered as having changes made to them.
Is this a known issue?
I would think the replace all code does not compensate for source control.
Is this a known issue?
I would think the replace all code does not compensate for source control.
--Rich Laiacona
Ken Cook Co.
Partners in Product Documentation
Ken Cook Co.
Partners in Product Documentation
-
- Senior Propellus Maximus
- Posts: 3667
- Joined: Thu Feb 02, 2006 9:57 am
- Location: Pittsford, NY
Re: Source Control and Replace All Not Working
Hi Rich,
I don't have an answer for you, but rather am interested in what you learn. I've not had to source control my Flare work yet, but will be doing so within the next month.
I realize you didn't get a reply here on the forums (maybe post it instead in the Source Control forum rather than the Analyzer forum?), but I'm curious what further insights / issues you continue to see. Hopefully, too, my little reply will give your post the bump it needs to get someone else's attention...
I don't have an answer for you, but rather am interested in what you learn. I've not had to source control my Flare work yet, but will be doing so within the next month.
I realize you didn't get a reply here on the forums (maybe post it instead in the Source Control forum rather than the Analyzer forum?), but I'm curious what further insights / issues you continue to see. Hopefully, too, my little reply will give your post the bump it needs to get someone else's attention...
Nita
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
Re: Source Control and Replace All Not Working
Whenever I do a projectwide Find&Replace I have to check all those files out ...
This is how I do it:
1. CTRL + F
2. enter "find" text
3. enter "replace" text
4. chose "(whole project)"
5. press "Start"
6. press "Replace in All Files"
7. press "OK" (question: Do I want to leave all files open?)
8. ... ... 50-or-so files are opened and processed
9. press "OK" (question: Do I want to save and close all files?)
10. ... ... Flare checks out all files and saves and closes them => goes on at 8 ...
This is how I do it:
1. CTRL + F
2. enter "find" text
3. enter "replace" text
4. chose "(whole project)"
5. press "Start"
6. press "Replace in All Files"
7. press "OK" (question: Do I want to leave all files open?)
8. ... ... 50-or-so files are opened and processed
9. press "OK" (question: Do I want to save and close all files?)
10. ... ... Flare checks out all files and saves and closes them => goes on at 8 ...
Inge____________________________
"I need input! - Have you got input?"
"I need input! - Have you got input?"
-
- Senior Propellus Maximus
- Posts: 3667
- Joined: Thu Feb 02, 2006 9:57 am
- Location: Pittsford, NY
Re: Source Control and Replace All Not Working
So Inge, you are doing this in a Flare project that is under source control? Say you've checked only 10 topics out of source control. Now you do a Find-and-Replace-All operation in the whole project. Does Flare manage the check-in/check-out of all the other topics automatically as part of the Replace-All operation? I think what Rich is observing is that the change "sticks" in only the set of topics he's check out of source control, but not in the whole project. Rich, am I understanding your problem correctly?
Nita
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
Re: Source Control and Replace All Not Working
Yep. Works like a charm (as described above).Nita Beck wrote:So Inge, you are doing this in a Flare project that is under source control? Say you've checked only 10 topics out of source control. Now you do a Find-and-Replace-All operation in the whole project. Does Flare manage the check-in/check-out of all the other topics automatically as part of the Replace-All operation?
Inge____________________________
"I need input! - Have you got input?"
"I need input! - Have you got input?"
-
- Senior Propellus Maximus
- Posts: 3667
- Joined: Thu Feb 02, 2006 9:57 am
- Location: Pittsford, NY
Re: Source Control and Replace All Not Working
Cool... I'll be curious to see if Rich discovers something unusual about his setup that seems to conflict with Replace All.
Nita
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
-
- Propeller Head
- Posts: 16
- Joined: Mon Feb 07, 2011 10:22 am
- Location: Milwaukee, Wisconsin, USA
- Contact:
Re: Source Control and Replace All Not Working
The only difference in our procedure is in the OK to leaving the files open.
I chose NO because I am going through 4000+ topics and could easily open 500 of them.
I would then guess it is in the leaving open procedure that unlocks the files.
I chose NO because I am going through 4000+ topics and could easily open 500 of them.
I would then guess it is in the leaving open procedure that unlocks the files.
--Rich Laiacona
Ken Cook Co.
Partners in Product Documentation
Ken Cook Co.
Partners in Product Documentation
Re: Source Control and Replace All Not Working
Flare opens, processes and closes files in packages of sth around 50 - don't know what influences the number of files.
Inge____________________________
"I need input! - Have you got input?"
"I need input! - Have you got input?"
-
- Propeller Head
- Posts: 16
- Joined: Mon Feb 07, 2011 10:22 am
- Location: Milwaukee, Wisconsin, USA
- Contact:
Re: Source Control and Replace All Not Working
The opened files would be a result of the files that are getting the global change. (I would think)
This could be every topic file, depending on the global change.
This could be every topic file, depending on the global change.
--Rich Laiacona
Ken Cook Co.
Partners in Product Documentation
Ken Cook Co.
Partners in Product Documentation
Re: Source Control and Replace All Not Working
Ah, yes - let me rephrase that: Don't know what influences the number of files per package ...
Of course the total number is the total numbe rof processed files.
Of course the total number is the total numbe rof processed files.
Inge____________________________
"I need input! - Have you got input?"
"I need input! - Have you got input?"
-
- Propeller Head
- Posts: 16
- Joined: Mon Feb 07, 2011 10:22 am
- Location: Milwaukee, Wisconsin, USA
- Contact:
Re: Source Control and Replace All Not Working
As I have been working with some global changes that affect only 11 files and I am keeping them open, it appears to be working fine.
--Rich Laiacona
Ken Cook Co.
Partners in Product Documentation
Ken Cook Co.
Partners in Product Documentation
-
- Propeller Head
- Posts: 16
- Joined: Mon Feb 07, 2011 10:22 am
- Location: Milwaukee, Wisconsin, USA
- Contact:
Re: Source Control and Replace All Not Working
I did a bigger replace all and when I have "TOO MANY" files open, it asked if I wanted to save and close them before carrying on !
That's a nice feature.
--Rich Laiacona
Ken Cook Co.
Partners in Product Documentation
Ken Cook Co.
Partners in Product Documentation